Issue Details (XML | Word | Printable)

Key: NUCJPA-152
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus API JPA

Set default for "datanucleus.findObject.validateWhenCached" to false for performance

Created: 11/Oct/11 03:43 PM   Updated: 13/Aug/12 03:16 PM   Resolved: 11/Oct/11 03:44 PM
Component/s: API
Affects Version/s: 2.0.2, 2.1.8, 3.0.0.release, 3.0.2
Fix Version/s: 3.0.3


 Description  « Hide
When a user calls
em.find(...)
if the object is in the L2 cache then it will be validated currently. We can change the default for JPA to not validate (since it is in the L2 cache and assumed to be recent) and, with that, get a performance improvement.

Note : can't yet do this for JDO since the JDO TCK has at least one test requiring validation (to be investigated separately)

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 11/Oct/11 03:44 PM
SVN trunk has this