Object
DB
Object
DB
ObjectDB
About ObjectDB
Get ObjectDB
Support
Manual
Quick Tour
Entity Classes
Using JPA
JPA Queries
Tools
and Utilities
Configuration
API
JPA
Reference
JDO
Reference
Tutorials
General JPA Tutorials
Web App JPA Tutorials
Admin
Home
»
JPA Reference
»
EntityManager
»
clear() - JPA EntityManager's method
JPA Reference
Persistence
EntityManagerFactory
EntityManager
EntityTransaction
Annotations
Queries
Metamodel
Miscellaneous
Exceptions
clear() - JPA EntityManager's method
Method
javax.persistence.EntityManager
void clear()
Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted.
Since:
JPA 1.0
< EntityManager
^ EntityManager
EntityTransaction >