From ea8bdd79a19ae487a48d52e20e0d9c9971b75a57 Mon Sep 17 00:00:00 2001 From: agrgr Date: Mon, 18 Dec 2023 12:45:37 +0200 Subject: [PATCH] make ServerVersionUtils a bean --- .../springframework/data/aerospike/core/AerospikeTemplate.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java b/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java index c3fe41cf6..90d48288f 100644 --- a/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java +++ b/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java @@ -253,6 +253,8 @@ public void insert(T document, String setName) { @Override public void insertAll(Iterable documents) { validateForBatchWrite(documents, "Documents for insert"); + + insertAll(documents, getSetName(documents.iterator().next())); } @Override