DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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 ]