Subject Re: [Firebird-Java] Re: JDBC driver which implements XADataSource?
Author Will Sargent
Roman Rokytskyy wrote:
>>Where is the class? I can see that there's a JCA structure, but I
>>don't know how to make that fit what I need. Does JayBird support XA?
>
>
> XADataSource is not yet implemented. You can try to do this yourself,
> there's almost everything ready there:
>
> client-java/src/pool/org/firebirdsql/pool/*.java
>
> You would have to implement XADataSource interface in the
> FBConnectionPoolDataSource.java (note, FBPooledConnection already
> implements XAConnection interface).

I don't see an FBConnectionPoolDataSource class in the CVS tree (though
I'm browsing the CVS trunk through HTML, since pserver itself seems to
be down right now.) Do you mean FBDataSource?

I don't see an FBPooledConnection class, or an XAConnection interface
either... Are you talking about FBManagedConnection, implementing
XAResource?

When you say "almost everything is there", does this mean a complete
newbie without any deep knowledge of XA could implement it?

Will.