Chapter 10. JDO Runtime Extensions

10.1. KodoPersistenceManagerFactory
10.2. KodoPersistenceManager
10.2.1. JDO Events
10.2.2. PersistenceManager Extension
10.3. KodoExtent
10.4. KodoQuery
10.5. Fetch Configuration
10.6. KodoHelper
10.7. Query Extensions
10.7.1. JDOQL Extensions
10.7.1.1. Included Query Extensions
10.7.1.2. Developing Custom Query Extensions
10.7.1.3. Configuring JDOQL Extensions
10.8. Query Aggregates and Projections
10.8.1. Query Aggregates
10.8.1.1. Using Query Aggregates
10.8.1.2. Included Query Aggregates
10.8.1.2.1. count
10.8.1.2.2. sum
10.8.1.2.3. min
10.8.1.2.4. max
10.8.1.2.5. avg
10.8.1.3. Developing Custom Query Aggregates
10.8.1.4. Configuring Query Aggregates
10.8.2. Query Projections
10.8.2.1. Using Query Projections
10.8.3. JDOQL Variables in Aggregates and Projections
10.8.4. Custom Query Result Class
10.8.4.1. Using a Bean Query Result Class
10.8.4.2. Using a Generic Query Result Class
10.8.4.3. Using a Result Alias
10.9. Object Locking
10.9.1. Configuring Default Locking
10.9.2. Configuring Lock Levels at Runtime
10.9.3. Object Locking APIs
10.9.4. Lock Manager
10.9.5. Rules for Locking Behavior
10.9.6. Known Issues and Limitations

This chapter describes Kodo extensions to the standard JDO runtime interfaces, and outlines some additional features of the Kodo JDO runtime.

10.1. KodoPersistenceManagerFactory

The kodo.runtime.KodoPersistenceManagerFactory interface extends the basic javax.jdo.PersistenceManagerFactory with Kodo-specific features. The interface offers APIs to obtain managed and unmanaged persistence managers from the same factory and to perform other Kodo-specific operations. See the interface Javadoc for details on the KodoPersistenceManagerFactory.