valchkou / cassandra-driver-mapping

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

Use column names instead of star in select all (workaround JAVA-420) #44

Closed vedmedka closed 9 years ago

vedmedka commented 9 years ago

I've added workaround for https://datastax-oss.atlassian.net/browse/JAVA-420

There protected method buildSelectAll exists in MappingBuilder: protected static Select buildSelectAll(String table, List pkCols, ReadOptions options, String keyspace)

I didn't know reasons why it's protected so I kept it untouched.