cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <>
Subject Re: Data stax object mapping and lightweight transactions
Date Tue, 07 Apr 2015 07:32:53 GMT
This is very much a Java Driver question so please try to use the java
driver mailing list (!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" (

On Tue, Apr 7, 2015 at 1:46 AM, Sha Liu <> 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

View raw message