Closed miladamery closed 7 months ago
Did you notice that you're passing on the InsertOptionsBuilder
instead of InsertOptions
as there is a missing .build()
?
OMG! your absolutely right. What a silly mistake by me. But I wonder how this didn't result in a compiler error?
The insert(…)
method has a vararg signature to insert multiple objects. The only way to prevent that is deprecating the vararg method.
Im using
reactiveCassandraTemplate.batchOps()
to insert multiple entities butis thrown. one of these inserts has some ttl configuration with it and when that line gets removed things works correctly, but this ttl is needed for this insert. I don't know if this is a bug or I did something bad or doing it this way maybe is not appropriate for doing ttl. thanks in advance.
code of insertions:
Complete stack trace: