-->
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: How can I know if a "lazy object" is not loaded
PostPosted: Mon Feb 26, 2007 6:03 pm 
Beginner
Beginner

Joined: Thu Jan 11, 2007 7:19 pm
Posts: 20
Location: Argentina, Buenos Aires
Hibernate version: 3.2.1 GA

I seems a very stupid question, but I cannot find a way to ask
a DETACHED entity if a "lazy" object is loaded or not in a portable way.

Just to be clear, I don't need de lazy object, it's ok if it is not
there I just want to know if it is there or not.

If I call any get Method I receive org.hibernate.LazyInitializationException
of course this is not a EJB 3.0 persistence Exception.

Any help will be welcomed
Thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 27, 2007 7:51 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
there is no portable way. Push that to the EG, this is a useful feature

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 28, 2007 12:34 pm 
Beginner
Beginner

Joined: Thu Jan 11, 2007 7:19 pm
Posts: 20
Location: Argentina, Buenos Aires
Thanks emanuelle, how can I push it to EG,
and what does it mean ?
(I supposse something like a bug or feature request)

Regards
tonio


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 07, 2007 7:14 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
ejb3-feedback@sun.com
EG means Expert Group

_________________
Emmanuel


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.