valchkou / cassandra-driver-mapping

JPA addon for DataStax Java Driver for Cassandra
58 stars 24 forks source link

How to add WITH CLUSTERING ORDER BY (<columnName> DESC) clause #25

Closed freddieFishCake closed 10 years ago

freddieFishCake commented 10 years ago

Hi, is it possible to define a WITH CLUSTERING ORDER BY clause via the JPA entity / annotations?

valchkou commented 10 years ago

Yes. added mapping sample to the doc: https://github.com/valchkou/cassandra-driver-mapping#mapping_properties

freddieFishCake commented 10 years ago

excellent, many thanks !