Internal Website Search

51-60 of 200 resultsRefresh

Visibility of changes in Transaction is not visible to a JPA QL Query

managed transactions which is called by a trivial servlet. Inside a UserTransaction I add ... ; javax.transaction.UserTransaction tx = (javax.transaction.UserTransaction) context     ... that I add in the transaction are not visible when I go to count them;

Performance in large transactions

Hello, we have a performance problem when we use a large transaction. Let's do exactly the same in several transactions the ObjectDB works much faster. In ... (); entityManager.setFlushMode(FlushModeType.AUTO); EntityTransaction transaction

javax.transaction.Synchronization with Java SE 10.0.1

class="pre-java"> java.lang.NoClassDefFoundError: javax/transaction/Synchronization    ... .ClassNotFoundException: javax.transaction.Synchronization     at java.base/jdk.internal ... resolve) there is found a LoadedModule with this footprint [module java.transaction, location

Bug with unique constraint exception not resulting in transaction roll back

as expected, but I would expect ObjectDB to roll back the transaction and not persist ... > This could happen if the operation is spread over more than one transaction. In a managed environment, in which transactions are started and committed by the application server and not

Custom Transaction Manager

use Narayana/Arjuna transaction manager. ObjectDB doesn't allow me to configure custom JNDI name or Transaction Manager class and method name. Is there a hidden configuration ... : java:/TransactionManager javax.transaction.TransactionManager

Cannot catch a PersistenceException and continue the transaction

that case it marks the transaction as one that need to be rolled back. I understood that I ... ) transaction in another method that will be rolled back instead of the first one- doesn't work. I got a message that it couldn't begin a new transaction when another is active. Searching

Query in nested transaction returns detached entity if lazy-loaded

retrieving new objects that have been persisted by other transactions from within a transaction ... that currently ObjectDB manages flushed transactions as a snapshot of the database when Caused by: com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock

Transaction size limit

of the transaction has no hard limit, our experience shows that we can not commit a transaction ... our JDO transaction in version 2.8.3_05 using client-server mode: In such cases we have to split the transaction to smaller pieces and commit

Step 6: Set the Spring XML

Transaction support --> <bean id="myTxManager" class="org.springframework.orm.jpa ... ; <!-- Use @Transaction annotations for managing transactions --> <tx:annotation-driven transaction-manager="myTxManager" /> <!-- View resolver --> <bean class

Step 6: Set the Spring XML

"/> </property> </bean> <!-- Add Transaction support --> < ... ; <property name="entityManagerFactory" ref="emf"/> </bean> <!-- Use @Transaction annotations for managing transactions --> <tx:annotation-driven transaction-manager