0 Replies Latest reply on Dec 19, 2005 9:25 PM by Michael Pelz Sherman

    strategies for working around Hibernate 2.1.7/Jboss 3.2.5 Tr

    Michael Pelz Sherman Newbie

      Hi,

      We are using Hibernate 2.1.7 and Jboss 3.2.5, and are encountering a serious problem due to the following bug:

      http://jira.jboss.com/jira/browse/JBAS-1576

      In the longer term we are planning to upgrade to newer versions of Hibernate/JBoss which should fix the problem, but in the short term we would like to find a workaround if possible.

      I've downloaded the source for jboss-hibernate.jar, thinking I'd try modifying the TransactionSynch class to throw Exceptions in beforeCompletion() rather than swallowing them, but I'm having some trouble getting it to compile.

      Before I dive into the compilation issues, is there an easier way to override the behavior of the TransactionSynch class (e.g. provide a different transaction Synchronization manager class via a config file)?

      Thanks!
      - Michael