-->
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: Event Initializable interface in hibernate 4.0.0.CR7
PostPosted: Fri Dec 09, 2011 4:12 pm 
Newbie

Joined: Wed Jul 02, 2008 4:56 pm
Posts: 3
We need to create a customer event listener. In this listener, we need to get some customer setting properties from persistent.xml. In hibernate 3.x.x, there is a interface org.hibernate.event.Initializable which allow us to get hold of the hibernate cfg object which we can get those values from persistent.xml.

Ever since we upgrade the hibernate from 3.6.8 to 4.0.0.RC7, this interface is dropped from the system.

We would like to know if there is a way to allow us to get hold of the hibernate cfg object in listener and do what we ware doing.

Thanks


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.