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.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 01/Mar/14 12:31 PM
GitHub master adds basic PreparedStatement caching