java - Cassandra Acessor annotated interface for insert statement -
i developing full fledged application having cassandra 2.1 back-end , writing api latest driver. wanted use accessor annotated interface crud operations. but, per doc select , update works jdbi interface model provided cassandra 2.1.3 driver. know if insert , delete works. appreaciated
finally found couple of ways execute insert statements
create accessor method returns "statement" object, can executed using session object
you can construct dao object record , invoke mapper.save(daoobj) save record.
Comments
Post a Comment