ObjectDB Database Search
1-30 of 30 resultsjakarta.persistence.TransactionRequiredException.TransactionRequiredException(Exception)
Jakarta Persistence (JPA) Constructor in jakarta.persistence. TransactionRequiredException TransactionRequiredException ( Exception cause ) Constructs a new TransactionRequiredException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.TransactionRequiredException.TransactionRequiredException(String)
Jakarta Persistence (JPA) Constructor in jakarta.persistence. TransactionRequiredException TransactionRequiredException ( String message ) Constructs a new TransactionRequiredException exception with the specified detail message. Parameters: message - the detail message. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.TransactionRequiredException.TransactionRequiredException(String,Exception)
Jakarta Persistence (JPA) Constructor in jakarta.persistence. TransactionRequiredException TransactionRequiredException ( String message , Exception cause ) Constructs a new TransactionRequiredException exception with the specified detail message. Parameters: message - the detail message. Since: Jakarta Persistence (JPA) 1.0
|
|
jakarta.persistence.TransactionRequiredException.TransactionRequiredException()
Jakarta Persistence (JPA) Constructor in jakarta.persistence. TransactionRequiredException TransactionRequiredException () Constructs a new TransactionRequiredException exception with null as its detail message. Since: Jakarta Persistence (JPA) 1.0
|
|
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
|
|
DELETE Queries in JPA/JPQL
("DELETE FROM Country"). executeUpdate (); A TransactionRequiredException is thrown if no transaction
|
|
Deleting JPA Entities
if its argument is not an entity instance or if it is a detached entity. It throws a TransactionRequiredException
|
|
Running JPA Queries
(); A TransactionRequiredException is thrown if no transaction is active. On success, the executeUpdate() method returns
|
|
jakarta.persistence.TypedQuery
and the transaction is rolled back. TransactionRequiredException - if there is no transaction or ... and the transaction is rolled back. TransactionRequiredException - if a lock mode other than NONE has been set ... timeout value set and the transaction is rolled back. TransactionRequiredException - if a lock mode
|
|
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
|
|
jakarta.persistence.EntityManager.joinTransaction()
to associate it with the current JTA transaction. Throws: TransactionRequiredException
|
|
jakarta.persistence.EntityManager.lock(Object,LockModeType,LockOption...)
call is made. OptimisticLockException - if the optimistic version check fails. TransactionRequiredException
|
|
jakarta.persistence.EntityManager.refresh(Object)
- if the instance is not an entity or the entity is not managed. TransactionRequiredException
|
|
jakarta.persistence.EntityManager.refresh(Object,Map)
. IllegalArgumentException - if the instance is not an entity or the entity is not managed. TransactionRequiredException
|
|
jakarta.persistence.EntityManager.refresh(Object,LockModeType)
call is made. TransactionRequiredException - if invoked on a container-managed entity manager of type
|
|
jakarta.persistence.EntityManager.lock(Object,LockModeType)
. TransactionRequiredException - if there is no transaction or if invoked on an entity manager which has not been joined
|
|
jakarta.persistence.EntityManager.lock(Object,LockModeType,Map)
. TransactionRequiredException - if there is no transaction or if invoked on an entity manager which has not been joined
|
|
jakarta.persistence.EntityManager.getLockMode(Object)
is not a managed entity. TransactionRequiredException - if there is no active transaction or
|
|
jakarta.persistence.EntityManager.refresh(Object,LockModeType,Map)
call is made. TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType
|
|
jakarta.persistence.EntityManager.refresh(Object,RefreshOption...)
call is made. TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType
|
|
Cannot save or update entity on Spring App
because of this: [ObjectDB 2.8.0] javax.persistence. TransactionRequiredException Attempt to run update ... . TransactionRequiredException Attempt to run update query when no transaction is active [PMImpl] (error 611) Apparently Spring
|
|
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
|
|
Not able to update records
Hi, I am tring to update the simple object by using Update query by i am getting following exception [ObjectDB 2.4.4_15] javax.persistence. TransactionRequiredException Attempt to run update query when no transaction is active (error 611) at com.objectdb.jpa.JpaQuery.executeUpdate(JpaQuery
|