Issue Details (XML | Word | Printable)

Key: NUCRDBMS-394
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 1
Watchers: 1
Operations

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

Statement batching on INSERTs

Created: 12/May/07 10:22 AM   Updated: 27/Jun/10 08:57 AM   Resolved: 16/Jun/10 09:19 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1.1


 Description  « Hide
The SQLController allows the potential of SQL statement batching. It is currently (1.2.0-beta-3) enabled for DELETE statements, but could also reasonably be used for INSERT statements (org.jpox.store.rdbms.request.InsertRequest). To enable this we would need to check that no other SQL is going to be invoked from allocating the PreparedStatement for the INSERT until executeUpdate is called on it. This means that no value strategy in the datastore is invoked and no other relations are processed for the object to be inserted.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 16/Jun/10 09:19 AM
SVN trunk now enables this, and all tests pass with it after the fix to NUCRDBMS-417