ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh

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

I have two simple Entities ( see attachment ) and a simple SLSB with container managed transactions ... InitialContext();    javax.transaction.UserTransaction tx = (javax.transaction.UserTransaction) context ... ();   } catch The problem is that the items that I add in the transaction are not visible when I

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 our use case, we create many new entities ... (FlushModeType.AUTO); EntityTransaction transaction = entityManager.getTransaction

javax.transaction.Synchronization with Java SE 10.0.1

/transaction/Synchronization     at java.base/java.lang.ClassLoader.defineClass1(Native Method ... ) Caused by: java.lang.ClassNotFoundException: javax.transaction.Synchronization     at java.base ... with this footprint [module java.transaction, location=jrt:/java.transaction] and within this module

Bug with unique constraint exception not resulting in transaction roll back

ObjectDB to roll back the transaction and not persist anything. However, it is persisting both entities ... over more than one transaction. In a managed environment, in which transactions are started and committed by the application server and not be the application, sometimes it is difficult to see when one transaction is ended

Custom Transaction Manager

Hi, I am trying integrate ObjectDB and Quarkus Framework. Quarkus use Narayana/Arjuna transaction manager. ObjectDB doesn't allow me to configure custom JNDI name or Transaction Manager class ... locations, including: java:/TransactionManager javax.transaction.TransactionManager java:comp

Cannot catch a PersistenceException and continue the transaction

the transaction as one that need to be rolled back. I understood that I can overcome it in several ways but those don't work for me. Begin a new (nested) 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

Query in nested transaction returns detached entity if lazy-loaded

that have been persisted by other transactions from within a transaction that was flushed before ... transactions as a snapshot of the database when flush occurs. Build 2.7.4_04 includes a workaround ... to commit transaction: Optimistic lock failed for object com.btc.ep.base.bl.internal.entities.mapping

Transaction size limit

Although I read in this post https://www.objectdb.com/forum/2606 that the size of the transaction has no hard limit, our experience shows that we can not commit a transaction exceeding 2GB even though the ObjectDB server runs with Xmx15G. We get the following exception in our JDO transaction in

Step 6: Set the Spring XML

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

Step 6: Set the Spring XML

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

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support