Subject | Re: XADataSource implementation |
---|---|
Author | rrokytskyy |
Post date | 2002-04-25T16:50:42Z |
> I needNot sure. :) You probably remember config I had in my mind, but I
> > XADataSource in my configuration (maybe, not sure though)
>
> Are you sure? Why?
will put it here again:
we are developing JCA-compliant persistence manager that in turn uses
JDBC to store data in database. When transaction is working, we only
cache data in memory (faster), and in XAResource.prepare(Xid) we want
to execute corresponding SQL statements using the JDBC connection.
> The JCA interfaces are considerably clearer IMNSHO than theProbably because it is not clear what happens if I try to allocate
> XADataSource interfaces. However, it shouldn't be too hard to wrap
> ManagedConnectionFactory with XADataSource and ManagedConnection
> with XAConnection. I'm very curious as to why you need this,
> however.
connection from javax.sql.DataSource in prepare(Xid) call. Will it
belong to my transaction? Is it allowed there?
If you think this question is too specific, let's move to private
email communication.
Roman