We are using Hibernate 2.1.7 and Jboss 3.2.5, and are encountering a serious problem due to the following bug:
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)?