These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: setting hibernate.connection.release_mode to Hibernate MBean
PostPosted: Mon Oct 16, 2006 1:51 pm 
Newbie

Joined: Mon Oct 16, 2006 1:44 pm
Posts: 1
Hello,

I am using Hibernate as an MBean with JBoss (and JTA) and I am getting the following exception: [org.jboss.resource.connectionmanager.CachedConnectionManager]Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.WrappedConnection

Apparently this can be solved by setting the hibernate.connection.release_mode to auto or after_statement. However, what is the attribute name that I need to set when using Hibernate as an MBean, i.e. when I do not use hibernate.properties, nor hibernate.cfg.xml?

Thanks in advance,
Ralitsa


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.