This content has been marked as final.
Show 1 reply
-
1. Re: How to disable autocommit for local-tx-datasource
ivark Nov 23, 2003 6:21 AM (in response to ivark)Hi again..
I figured it out.
I should have read the hibernate-documentation more closely.
The Hibernate HiLo-generator is not compatible with JTA, since it uses a separate "non-rollback'able" connection for updating a special hilo-table when generating a new key. (I thougth it used the same connection)
So. I changed to using sequence instead of hilo, and now it works like a charm...
-Marius