Home » Search

About EntityTransaction

11-20 of 34 Refresh
Manual
37

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).
Manual
37

Deleting JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.
JPA Doc
37

JPA Reference (JavaDoc)

Java/JPA API Reference (based on the JPA 3 JavaDoc)
Manual
37

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.
Manual
37

Updating JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.
JPA Doc
16

javax.persistence.EntityManager

- if the entity state cannot be accessed Since: JPA 1.0 EntityTransaction getTransaction() Return the resource-level EntityTransaction object. Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns
JPA Doc
14

getTransaction()

Method javax.persistence.EntityManager EntityTransaction getTransaction() Return the resource-level EntityTransaction object. The EntityTransaction instance may be used serially to begin and commit multiple transactions. Returns: EntityTransaction instance Throws: IllegalStateException - if invoked on a JTA entity manager Since: JPA 1.0
JPA Doc
10

javax.persistence.RollbackException

: Serializable Thrown by the persistence provider when EntityTransaction.commit() fails. Since: JPA 1.0 See Also: javax.persistence. EntityTransaction.commit() RollbackException() Constructs a new
JPA Doc
7

javax.persistence.LockModeType

the PessimisticLockException and ensure that the JTA transaction or EntityTransaction
Forum
3

Bug: ClassCastException by retrieval

.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence. EntityTransaction ... = emf.createEntityManager();   EntityTransaction trans = em.getTransaction();   //* block-1