This is very much a Java Driver question so please try to use the java
driver mailing list (
https://groups.google.com/a/lists.datastax.com/forum/#!forum/java-driver-user)
for this type of question instead of the general Cassandra mailing list in
the future.

That said, to answer you question, no, the "save" operation will not use
lightweight transaction. If you want to use LWT with the driver mapping,
you should look at the "accessors" (
http://docs.datastax.com/en/developer/java-driver/2.1/common/drivers/reference/accessorAnnotatedInterfaces.html
).

On Tue, Apr 7, 2015 at 1:46 AM, Sha Liu <lius...@hotmail.com> wrote:

> Hi,
>
> Does the latest Data Stax Java driver (2.1.5) support lightweight
> transactions using object mapping? For example, if I set the write
> consistency level of the mapped class to SERIAL through annotation, then
> does the “save” operation use lightweight transaction instead of a normal
> write?
>
> Thanks,
> Sha Liu

Reply via email to