Implement custom JTA XAResource for using with hibernate

Posted by jstingo on Stack Overflow See other posts from Stack Overflow or by jstingo
Published on 2010-04-16T03:33:37Z Indexed on 2010/04/16 4:23 UTC
Read the original article Hit count: 421

Filed under:
|
|

I have two level access to database: the first with Hibernate, the second with JDBC. The JDBC level work with nontransactional tables (I use MyISAM for speed). I want make both levels works within transaction. I read about JTA which can manage distributed transactions. But there is lack information in the internet about how to implement and use custom resource.

Does any one have experience with using custom XAResources?

© Stack Overflow or respective owner

Related posts about java

Related posts about jta