-->
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.  [ 2 posts ] 
Author Message
 Post subject: 3rd iteration complete
PostPosted: Mon Nov 01, 2004 11:59 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
I just committed the code for the third iteration. Some of the changes/improvements include:
  • New cache provider (org.jboss.hibernate.cache.DeployedTreeCacheProvider) which can use a TreeCache available via JNDI as a second level cache. This can either be a manually bound TreeCache, or using verion 1.2 of JBossCache which provides the ability to bind the TreeCache automatically. Use the new Hibernate MBean attribute DeployedTreeCacheJndiName to specify the JNDI location of the TreeCache.
  • Better error messages on HibernateContext.getSession() if trying to use outside of transaction.
  • The integration code is now deployed as a service archive (.sar on 3.2.x, .deployer on 4.x and 5.x).
  • Added abiltity to add additional <mbean/> definitions in the hibernate-service.xml (i.e., a tree cache definition, etc) beyond just the Hibernate mbean def.
  • Rounded out the Hibernate configuration properties available as managed attributes on the MBean.


The changes were made on all three current JBoss branches and will be available in both the 3.2.7 and 4.0.1 distros as well as the ongoing 5.x development on HEAD.


Last edited by steve on Thu Jul 28, 2005 1:20 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Using Session outside a Transaction
PostPosted: Sun Jan 02, 2005 10:53 pm 
Newbie

Joined: Mon Nov 22, 2004 3:45 pm
Posts: 6
Location: US - TN
Re:
Quote:
Better error messages on HibernateContext.getSession() if trying to use outside of transaction.


Is it possible to use HibernateContext.getSession() outside of a transaction?

What is the recommended way to accomplish this?

Thank you,

Ted


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

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.