-->
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: An answer about user session
PostPosted: Tue Oct 28, 2003 7:36 am 
Beginner
Beginner

Joined: Tue Oct 28, 2003 6:43 am
Posts: 33
Mybe I'm wrong but I need a functionality and I'm just a biginner with Hibernate (1 day). I need to save the date and the user in every update of a Class with the Lyfecycle interface. No problem with the date but how with the user? I need to bind some property to the session! In this way i could use these to get some user information automatically end for every class.

There are other way?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 28, 2003 8:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
An interceptor would be a better choice than the Lifecycle interface. And there's even a Wiki page about setting this exact functionality up.
http://www.hibernate.org/48.html


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.