Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Talk:EclipseLinkCachingAndLocking"
(New page: =Discussion= For @Cache, the existence option should still be allowed when not using a shared cache. Also its default in JPA is check-database. The default cache size is 100. :~~~~) |
(→Discussion) |
||
Line 6: | Line 6: | ||
:[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 14:19, 21 July 2008 (EDT) | :[[User:James.sutherland.oracle.com|James.sutherland.oracle.com]] 14:19, 21 July 2008 (EDT) | ||
+ | |||
+ | Will move existence checking out of the check box-enabled panel | ||
+ | |||
+ | The default for existence checking says CHECK_CACHE in the ExistenceChecking annotation. In org.eclipse.persistence.queries.DoesExistQuery the existencePolicy is set to CHECK_CACHE in the constructor, so that also looks to be the default if no ExistenceChecking annotation is used. | ||
+ | |||
+ | Yes, the @Cache annotation has the default size set to 100. The problem with this is how do you reconcile that with the persistence unit properties eclipselink.cache.size.default being 1000? I had asked about this internally, but never entered a bug, should I? | ||
+ | |||
+ | :[[User:Karen.moore.oracle.com|Karen.moore.oracle.com]] 21:05, 21 July 2008 (EDT) |
Revision as of 21:05, 21 July 2008
Discussion
For @Cache, the existence option should still be allowed when not using a shared cache. Also its default in JPA is check-database.
The default cache size is 100.
- James.sutherland.oracle.com 14:19, 21 July 2008 (EDT)
Will move existence checking out of the check box-enabled panel
The default for existence checking says CHECK_CACHE in the ExistenceChecking annotation. In org.eclipse.persistence.queries.DoesExistQuery the existencePolicy is set to CHECK_CACHE in the constructor, so that also looks to be the default if no ExistenceChecking annotation is used.
Yes, the @Cache annotation has the default size set to 100. The problem with this is how do you reconcile that with the persistence unit properties eclipselink.cache.size.default being 1000? I had asked about this internally, but never entered a bug, should I?
- Karen.moore.oracle.com 21:05, 21 July 2008 (EDT)