Hibernate version:3.0
I have a component that needs to participate in my hibernate transaction. In my unit tests, where I'm using JDBC Transactions, I call registerSynchronization() and get a callback with the status of the transaction on completion. However, when I ran this in the container, it didn't work for me. Instead, the JTATransaction class throws an IllegalStateException. Upon further inspection, it seems that the implementation of that method in JTATransaction involves a few lines of code which will always throw this exception. Is this a bug? Is there another way I should be doing this?
thanks,
Phill
|