Issue Details (XML | Word | Printable)

Key: NUCCASSANDRA-27
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Store Cassandra

Provide PreparedStatement caching since Cassandra doesn't

Created: 01/Mar/14 11:22 AM   Updated: 01/Mar/14 07:39 PM   Resolved: 01/Mar/14 12:31 PM
Component/s: Code Structure, Persistence
Affects Version/s: None
Fix Version/s: 4.0.0.m1


 Description  « Hide
Cassandra logs a warning message if the same CQL is used for two PreparedStatement for a Session. It seemingly doesn't provide PreparedStatement caching itself so users have to do that themselves.

We could provide a cache of PreparedStatement for a Session, and then generate our PreparedStatements in the cache whenever we want to create one.

Andy Jefferson added a comment - 01/Mar/14 12:31 PM
GitHub master adds basic PreparedStatement caching

Andy Jefferson made changes - 01/Mar/14 12:31 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 4.0.0.m1 [ 12079 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Mar/14 07:39 PM
Status Resolved [ 5 ] Closed [ 6 ]