About EntityTransaction

manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... EntityManager EntityTransaction Overview A connection to a ... active transactions. Transactions are managed by an EntityTransaction javax.persistence.EntityTransaction JPA interface Interface used to control ...

 
manual

Storing JPA Entity Objects

Explains how to use JPA to store (persist) entity objects in the database.... EntityManager's method Return the resource-level EntityTransaction object. See JavaDoc Reference Page... ( ) . begin begin() EntityTransaction's method Start a resource transaction. See JavaDoc ...

 
manual

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove). The following subsections explain how to use JPA for CRUD database operations: Storing JPA Entity Objects Retrieving JPA Entity Objects Updating JPA Entity Objects Deleting JPA Entity Objects ...

 
manual

Updating JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... EntityManager's method Return the resource-level EntityTransaction object. See JavaDoc Reference Page... ( ) . begin begin() EntityTransaction's method Start a resource transaction. See JavaDoc ...

 
manual

Deleting JPA Entity Objects

Explains how to use JPA to delete (remove) entity objects from the database.... EntityManager's method Return the resource-level EntityTransaction object. See JavaDoc Reference Page... ( ) . begin begin() EntityTransaction's method Start a resource transaction. See JavaDoc ...

 
manual

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA. This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: Database Connection using JPA Working with JPA Entity Objects ...

 
api-jpa

JPA Reference (JavaDoc)

Java/JPA API Reference (based on the JPA 3 JavaDoc)... javax.persistence.EntityManager javax.persistence.EntityTransaction All the other JPA types are organized into the ...

 
api-jpa

getTransaction()

Return the resource-level EntityTransaction object.(Method of javax.persistence.EntityManager)

 
api-jpa

commit()

Commit the current resource transaction, writing any unflushed changes to the database.(Method of javax.persistence.EntityTransaction)

 
api-jpa

begin()

Start a resource transaction.(Method of javax.persistence.EntityTransaction)