-->
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: Attach objects to hibernate session for lifecycle onSave() ?
PostPosted: Mon Oct 18, 2004 6:27 am 
Beginner
Beginner

Joined: Tue Sep 07, 2004 3:58 am
Posts: 23
Hibernate version:
2.1.6

Is there a way to attach objects to a hibernate session ?

I open a session from a ejb session bean that saves an entity.
Now from the entitys onSave Lifecycle method i need to access some fields of the session beans context.

The only way to pass it to it seems to be the hibernate session, but i cant find a way....

Any ideas ?

Thx....

_________________
People keep asking me if i know Tyler Durden....


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.