Home » Search

About TransactionRequiredException

31-40 of 41Refresh
JPA Doc
6

persist(entity)

TransactionRequiredException - if invoked on a container-managed entity manager of type PersistenceContextType.TRANSACTION and there is no transaction Since: JPA 1.0
JPA Doc
6

refresh(entity)

managed TransactionRequiredException - if invoked on a container-managed entity manager of type
JPA Doc
6

refresh(entity, lockMode)

is not managed TransactionRequiredException - if there is no transaction and if invoked
JPA Doc
6

refresh(entity, lockMode, properties)

managed TransactionRequiredException - if there is no transaction and if invoked on a container
JPA Doc
6

refresh(entity, properties)

the entity is not managed TransactionRequiredException - if invoked on a container-managed entity manager
JPA Doc
6

remove(entity)

Method javax.persistence.EntityManager void remove(   Object entity ) Remove the entity instance. Parameters: entity - entity instance Throws: IllegalArgumentException - if the instance is not an entity or is a detached entity TransactionRequiredException - if invoked on a container-managed entity
Result
6

java.io.Serializable

, Throwable, TransactionRequiredException, PersistenceType, ValidationMode, VersionStrategy
Issue
4

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

still runs) //[ObjectDB 2.6.9_06] javax.persistence.TransactionRequiredException ... .TransactionRequiredException Attempt to flush a transaction when no transaction is active (error 611 ... .TransactionRequiredException Attempt to rollback a transaction when no transaction is active (error 611
Forum
2

How to Use a SF with extended Persistence Context?

with exception: com.objectdb.o._TransactionRequiredException: Attempt to rollback a transaction
Forum
2

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.java