1. hibernate.transaction.manager_lookup_class property in persistence.xml ignored? java.netHi, I have a web app using Hibernate 3.6/JPA 2.0/Spring 3.0 that I'm able to deploy successfully in JBoss, Jetty, and Glassfish. Part of the challenge has been how to get the webapp to deploy in three different containers and multiple deployment environments, while keeping all container- and environment-specific configuration outside the war. This includes the value of the hibernate.transaction.manager_lookup_class property ... |
2. Which transaction.manager_lookup for Websphere 6.1 forum.hibernate.orgHi, this must be an evergreen. So sorry at first :-) But there seems to be quite an uncertainty about the jtm lookup when using Hibernate with Websphere 6.1. So what's the basic recommendation in here? Should I go for the provided "org.hibernate.transaction.WebSphereExtendedJTATransactionLookup"? On the other side, there are a couple of snippets to be found, wrapped around an UOWManager Lookup. ... |
3. Is ...transaction.manager_lookup_class ALWAYS required? forum.hibernate.orgDoes hibernate2.1rc1 ALWAYS require you to specify hibernate.transaction.manager_lookup_class when using JVM-level caching? Only in a JTA environment? Or even when using JDBC connections/transactions? The on-line documentation (Section 3.5, Table 3.3) seems to indicate only when JVM-level caching is enabled in a JTA environment. But the Hibernate changelog says "ALWAYS" when using JCS caching, and that the JTA TransactionManager is now used ... |
4. Sun ONE 7 integration, transaction manager lookup solution forum.hibernate.orgWe didn't succeed looking up the Sun ONE 7 transaction manager with the SunONETransactionManagerLookup class provided with hibernate 2.1.2. However, here is an alternative solution we found. It was tested successfully in some simple examples using Oracle 9.x. Code: import java.util.Properties; import javax.transaction.TransactionManager; import net.sf.hibernate.HibernateException; import net.sf.hibernate.transaction.TransactionManagerLookup; public class SunOneTransactionManagerLookup implements TransactionManagerLookup { /** ... |
5. container-managed transaction & manager_lookup_class forum.hibernate.org |
6. transaction.manager_lookup_class for Sybase EA Server forum.hibernate.org |
7. Transaction Manager LookUp class for Geronimo forum.hibernate.org |
8. hibernate.transaction.manager_lookup_class forum.hibernate.orgGreetings, Iam using Hibernate 3.0.5 and getting the following warning WARN [JTATransaction] You should set hibernate.transaction.manager_lookup_class if cache is enabled Was wondering, if Iam missing something in my hbm files / settings. My hbm, file looks like this.. |
9. Why use hibernate.transaction.manager_lookup_class very slow forum.hibernate.org |
10. WebSphere 6 and customized transaction manager lookup forum.hibernate.orgpackage some.where.over.the.rainbow; import java.util.Properties; import javax.transaction.TransactionManager; import org.hibernate.HibernateException; import org.hibernate.transaction.TransactionManagerLookup; public class CustomizedWASJTATransactionLookup implements TransactionManagerLookup { public TransactionManager getTransactionManager(Properties props) throws HibernateException { //This actually gets the WAS TransactionManager return com.ibm.ws.Transaction.TransactionManagerFactory.getTransactionManager(); } ... |
11. Hibernate with non-jta datasource lookup forum.hibernate.org |
12. Hibernate with non-jta datasource lookup forum.hibernate.orgHello All, I want to configure hibernate to be able to bind for non-jta datasource, I use Websphere 6.1 application server, i tried everything but the same exception NamingException, Name not found exception. and kindly note that i want to use non-jta datasource that means the Hibernate entity classes are not running under the container, they are run in seprate thread ... |