3.1. Entity states

3.1. Entity states

Like in Hibernate (comparable terms in parantheses), an entity instance is in one of the following states:

The EntityManager API allows you to change the state of an entity, or in other words, to load and store objects. You will find persistence with EJB3 easier to understand if you think about object state management, not managing of SQL statements.