I have encountered the same kind of problem with JBoss4.0.3SP2, when I replaced hibernate3.jar in the lib folder with the newer one. DB is Oracle 10g. So maybe it doesn't work that way..
The reason, why I'm trying this at all, is that we have very serious problem with the combination of JBoss+Hibernate+Oracle - trying to persist an Object (that might contain a Blob) looks fine, until I check the DB and see that it isn't actually written to the DB. There are no Exceptions or Throwables thrown - hibernate just don't insert these records to DB. If I call session.flush() before committing the transaction, everything seems to work, BUT I can only insert couple of records to the DB and after that the DB connection starts to block indefinitely. It just hangs there, Oracle tools show that some kind of transaction is in a WAIT state and it won't complete (I let it be this way for the entire weekend, but nothing changed and only kill -9 [jboss PID] helped). We have tried different drivers (oci, thin) and several versions of the drivers, jboss, hibernate, changing various hibernate properties, but nothing seems to work. The records won't either show up in the DB or the application will hang at some point :( I've searched hibernate and jboss forums for days, but saw only couple of the same kind of problems out there and never found a solution to my problem. A forum thread with a similar problem - http://forum.hibernate.org/viewtopic.php?t=932154&highlight=flush PS! Sorry for hijacking the thread, maybe I should create a new one... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919375#3919375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919375 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user