Force deferred locks persistence query property (#1007)

New "eclipselink.cache.query-force-deferred-locks" property force all queries and relationships
 to use deferred lock strategy during object building and L2 cache population.
 It helps to solve dead lock issues in multithreaded environments where one L2 cache is accessed/populated
 by multiple threads.
 Threads create objects from the same object graph but from different starting point.
 Dead lock issue should happens in large object graphs and entities connected with relationships with EAGER fetch strategy.

Signed-off-by: Radek Felcman <radek.felcman@oracle.com>
4 files changed
tree: 0007ce76b13fddb68f29b156cfcd8f625487a7f6
  1. bundles/
  2. dbws/
  3. etc/
  4. features/
  5. foundation/
  6. jpa/
  7. moxy/
  8. performance/
  9. plugins/
  10. project-admin/
  11. sdo/
  12. utils/
  13. .gitattributes
  14. .gitignore
  15. .travis.yml
  16. CONTRIBUTING.md
  17. findbugs-exclude.xml
  18. LICENSE.md
  19. NOTICE.md
  20. pom.xml
  21. pom_oracle_test_server.xml
  22. pom_test_server.xml
  23. README.md
README.md

EclipseLink 3.0.0 Master Build Status

EclipseLink 2.7.x 2.7.x  Build Status

EclipseLink

The EclipseLink project's goal is to provide a complete persistence framework that is both comprehensive and universal. It will run in any Java environment and read and write objects to virtually any type of data source, including relational databases, XML, JSON, or EIS systems. EclipseLink will focus on providing leading edge support, including advanced feature extensions, for the dominant persistence standards for each target data source; Jakarta Persistence for relational databases, Jakarta XML Binding for XML, Jakarta Connectors for EIS and other types of legacy systems, and Service Data Objects (SDO).

This project is part of the EclipseLink project.

License

EclipseLink is dual licensed under an EPL 2.0 and EDL 1.0 license.

Contributing

We use contribution policy, which means we can only accept contributions under the terms of Eclipse Contributor Agreement.

Links