Custom Transaction Manager

#1

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 and method name.

Is there a hidden configuration property to set class and method name to use arjuna tm.

I would like to use "com.arjuna.ats.jta.UserTransaction.userTransaction()" instead of default one.

Thanks

#2

ObjectDB looks for a TransactionManager in a list of predefined JNDI locations, including:

  • java:/TransactionManager
  • javax.transaction.TransactionManager
  • java:comp/TransactionManager

It may also be possible to add automatic creation of:
    com.arjuna.ats.jta.TransactionManager.transactionManager();
if available (in future builds of ObjectDB).

However, no support for custom UserTransaction, as user transactions are intended for direct operation of the ObjectDB transactions by applications.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login