Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
I have two level access to database: the first with Hibernate, the se开发者_如何学Gocond with JDBC. The JDBC level work with nontransactional tables (I use MyISAM for speed). I want make both levels w
They recommend using JTA transaction support in Java EE environment. But how to configure JTA in Tomcat6 so that Hibernate Session could use it ?
Can anybody explain what is difference between : @Resource UserTransaction objUserTransaction; and EntityManager.getTransaction();
The following code works: @Stateless @LocalBean public class MyClass { @PersistenceContext(name = \"MyPU\")
I store file’s attributes (size, update time…) in database. So the problem is how to manage transaction for database and file.
I have two datasources in my Web application (principalDB and backupDB) on two Postgresql DBs, and a web container managed transaction manager (with Atomikos) for them. Spring FW and Hibernate are my
I want to rollback a transaction which already committed, does JTA support this kind of f开发者_JAVA技巧unction?No, only uncommitted transactions can be rolled back
I\'m attempting to use hibernate entity manager with mysql and glassfish.I\'m getting the following error when attempting to use a JTA datasource:
Q1. i do understand when we need to deal with multiple databases, we need to use global transaction. but from this posthttp://fogbugz.atomikos.com/default.asp. the person suggested just use spring aop