-->
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: Which is the eventListener to be used for this scenario?
PostPosted: Mon Feb 28, 2011 3:57 pm 
Beginner
Beginner

Joined: Wed Mar 03, 2010 3:35 pm
Posts: 37
I have a requirement to set a java system property to a particular xml parser implementation at runtime which would be different from what was set initially when the application loaded up. I want to set this only when certain entities are being inserted or updated into the respective tables and they have a custom hibernate usertype that uses this parser internally, so I want to know is there any event method that will be called before a customxmluser type is used by hibernate when the respective entities are saved/updated. I tried setting it in the nullsafeset method but it does not work for me.


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.