seeorg.hibernate.transaction.TransactionManagerLookup#getTransactionManager(Properties) try { Class clazz = Class.forName("org.objectweb.jonas_tm.Current"); return (TransactionManager) clazz.getMethod("getTransactionManager", null).invoke(null, null); } catch (Exception e) { throw new HibernateException( "Could not obtain JOnAS transaction manager instance", e ); }
try { Class clazz = Class.forName("org.objectweb.jonas_tm.Current"); return (TransactionManager) clazz.getMethod("getTransactionManager", null).invoke(null, null); } catch (Exception e) { throw new HibernateException( "Could not obtain JOnAS transaction manager instance", e ); }
return "java:comp/UserTransaction";