ObjectDB Database Search

1-10 of 10 results

jakarta.persistence.EntityManager

. TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified or ... . TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified or ... . TransactionRequiredException - if there is no transaction and a lock mode other than NONE is specified or if invoked

Storing JPA Entities

a TransactionRequiredException if it is called without an active transaction. An EntityExistsException

Detached JPA Entities

a TransactionRequiredException if you call it without an active transaction, because merging can modify

jakarta.persistence.TypedQuery.getResultStream()

and the transaction is rolled back. TransactionRequiredException - if a lock mode

jakarta.persistence.TypedQuery.getSingleResult()

back. TransactionRequiredException - if a lock mode other than NONE has been set

jakarta.persistence.TypedQuery.getSingleResultOrNull()

back. TransactionRequiredException - if a lock mode other than NONE has been set

jakarta.persistence.TypedQuery.getResultList()

the query timeout value set and the transaction is rolled back. TransactionRequiredException

jakarta.persistence.StoredProcedureQuery.executeUpdate()

back. TransactionRequiredException - if there is no transaction or the persistence context has not been joined

How to Use a SF with extended Persistence Context?

for ObjectManager of com.objectdb.o.WSM@5535f404 - 2 with exception: com.objectdb.o._ TransactionRequiredException

Rollback after commit fail

), the exception is caught, but rollback fails with: javax.persistence. TransactionRequiredException Attempt