"parmaley" wrote : 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. | | .....
We managed to solve the problem by not using JBoss' Hibernate session management or HAR deployer. We created hibernate.cfg.xml file and put it in our application's jar file and configure Hibernate SessionFactory from that file during runtime. We also updated hibernate jar files in the lib directory (hibernate3.jar, hibernate-annotations.jar, hibernate-entitymanager.jar) and added ehcache-1.1.jar from hibernate3.1.1 to classpath. Now the application doesn't lock up anymore and data is commited to the DB as well (by using session.flush() ). Hope it helps someone :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920629#3920629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920629 ------------------------------------------------------- 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