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.  [ 4 posts ] 
Author Message
 Post subject: Lazy inicializatión and RMI
PostPosted: Fri Sep 29, 2006 2:45 pm 
Newbie

Joined: Tue Mar 16, 2004 1:44 pm
Posts: 17
Location: San Jose - Costa Rica
Hibernate version:
3.1
Name and version of the database you are using:
Oracle 9i

I have this problem

Object A has a collection of object B, and object B has a collection of object C. Both collections are lazy

I need to send Object A (including the collection of objects B and the collection of objects C) to another aplication using RMI

When the other aplication receive object A and try to get object B from the collection get an error because the session is close.

How could i solve this ??? should i initialize both collections before sending ??? if this is true how should i initilize them ???

Thanks
Ignacio


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 9:28 am 
Regular
Regular

Joined: Wed Jul 27, 2005 2:33 am
Posts: 118
Have a look at:

http://www.hibernate.org/43.html


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 9:14 am 
Newbie

Joined: Tue Mar 16, 2004 1:44 pm
Posts: 17
Location: San Jose - Costa Rica
how im supose to use open session in view filter on a remote application ???

Ignacio


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 9:16 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
http://www.hibernate.org/43.html#A4


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.