Check persistence.xml under JBOSS_HOME/server/all/ejb3.deployer/META-INF. When release_mode is on after_transaction it closes the session after each JDBC statement.
Resolve problem by uising on_close or just comment the line containing the following line hibernate.connection.release_mode=after_statement See Chapter 4 of Hibernate 3 reference guide 4.Configuration for more details View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917586#3917586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917586 ------------------------------------------------------- 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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
