Hi,
We use Borland Enterprise Server 5.2.1 on a project and also will use
Hibernate. Since there was no TransactionManagerLookup class for this
particular server, I wrote one and I'm sending you the source code if you
want to integrate it in the next Hibernate release.
Hibernate is great, keep up the good work!
______________________
�tienne Hardy, b.ing.
Conseiller
Pyxis Technologies
www.pyxis-tech.com
package com.pyxis.hibernate.transaction;
import net.sf.hibernate.transaction.JNDITransactionManagerLookup;
/**
* <code>TransactionManager</code> lookup strategy for Borland Enterprise
* Server.
*
* @author E. Hardy
* @version $Revision: $ $Date: $
*/
public class BESTransactionManagerLookup
extends JNDITransactionManagerLookup
{
public String getUserTransactionName()
{
return "java:comp/UserTransaction";
}
protected String getName()
{
return "java:pm/TransactionManager";
}
}