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: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Chris Colman
Votes: 0
Watchers: 0

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

Documentation specifies different defaults for Level 1 cache: weak or soft, on different pages

Created: 14/Feb/11 06:36 AM   Updated: 28/Mar/11 05:02 PM   Resolved: 14/Feb/11 09:37 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

 Description  « Hide
For the Level 1 cache paramaters:

This page:

says the default for level 1 cache is 'Weak' -

"weak - uses a weak reference backing map. If JVM garbage collection clears the reference, then the object is removed from the cache. This is the default Level 1 Cache"

This page:

says the default for the level 1 cache is 'Soft' -

Description Name of the type of Level 1 cache to use. Defines the backing map. See also Cache docs for JDO, and for JPA
Range of Values SOFT | weak | strong | {your-plugin-name}

(SOFT is shown as bold, indicating default).

Andy Jefferson added a comment - 14/Feb/11 09:37 AM
Default removed from cache pages in 2.2 and 3.0

Andy Jefferson made changes - 14/Feb/11 09:37 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 28/Mar/11 05:02 PM
Status Resolved [ 5 ] Closed [ 6 ]