Chapter 3. Working with objects

Chapter 3. Working with objects

3.1. Entity states
3.2. Making objects persistent
3.3. Loading an object
3.4. Querying objects
3.4.1. Executing queries
3.5. Modifying persistent objects
3.6. Modifying detached objects
3.7. Automatic state detection
3.8. Deleting managed objects
3.9. Flush the persistence context
3.9.1. In a transaction
3.9.2. Outside a transaction
3.10. Transitive persistence
3.11. Locking