Closed
Description
I am using spring data cassandra 3.1.6 artifact and trying to use custom codec.
The insert method in StatementFactory class is not passing converter/codec registry to the statement builder class and hence insert query is not being formed properly.
StatementBuilder builder = StatementBuilder.of(QueryBuilder.insertInto(tableName).valuesByIds(Collections.emptyMap())).bind((statement, factory) -> {
Map<CqlIdentifier, Term> values = createTerms(insertNulls, object, factory);
return statement.valuesByIds(values);
}).apply((statement) -> {
return (RegularInsert)addWriteOptions((Insert)statement, options);
});
I am using spring data stax oss driver version 4.9.0
Can you please look into this and let us know if this has been fixed or we have a workaround for the same?