[Firebird] XAResource and TransactionManager with JayBird, LDAP

From: Lukasz Kowalczyk (lukasz_at_wa.home.pl)
Date: 12/15/03


Date: 14 Dec 2003 16:11:45 -0800

I need to access (and update) two separate databases within one
transaction. One of them is Firebird 1.0, the other is any LDAP
database (I know most LDAPs are not transactional, transaction on LDAP
side will be emulated).

I know I need to implement a transaction manager but in order for this
to work I need to retrieve an XAConnection not an ordinary
java.sql.Connection from the JDBC driver because I have to invoke
Transaction.enlistResource(XAResource).

The question is this - how should I use Firebird's JDBC driver
(JayBird) to be able to retrieve XAConnection instances?

-- 
Lukasz Kowalczyk


Relevant Pages

  • Mac OS X file copy error in samba share on a samba-share
    ... I have an issue with mac os x 10.5.6 who is trying to put a file on a samba share. ... ldap delete dn = Yes ... Transaction 31 of length 106 ... switch message SMBntcreateX conn 0x2b9f4ba98fb0 ...
    (comp.sys.mac.system)
  • Re: Right use for JTA transactions?
    ... There are several ways of improving transactionality of your LDAP ... Start a JTA transaction ... On the LDAP side,pick up the JMS message and process it. ... recommend Lee's expertise as a DBMS expert with many years of ...
    (comp.lang.java.programmer)
  • Re: Right use for JTA transactions?
    ... > However, I also have lots of data in LDAP, IMAP, and the filesystem. ... > more general transaction scheme, covering a complete request that may ... XAResource for a DBMS, I might be able to offer some aid. ...
    (comp.lang.java.programmer)
  • Re: [Firebird] XAResource and TransactionManager with JayBird, LDAP
    ... One of them is Firebird 1.0, the other is any LDAP ... >> database (I know most LDAPs are not transactional, ... >> to be able to retrieve XAConnection instances? ... I don't also know if I should use the ManagedConnections directly or are ...
    (comp.lang.java.databases)
  • Re: [Firebird] XAResource and TransactionManager with JayBird, LDAP
    ... > I need to access two separate databases within one ... One of them is Firebird 1.0, the other is any LDAP ... > database (I know most LDAPs are not transactional, ...
    (comp.lang.java.databases)