-->
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.  [ 3 posts ] 
Author Message
 Post subject: runtime lazy initialization
PostPosted: Mon Mar 22, 2004 6:45 am 
Newbie

Joined: Fri Mar 05, 2004 11:20 am
Posts: 5
Hi all, I has a simple question.
is possible to know at runtime if a property of a class is lazy initialized?

enqnck


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2004 7:01 am 
Regular
Regular

Joined: Wed Mar 03, 2004 9:38 am
Posts: 70
try the static method
net.sf.hibernate.Hibernate.isInitialized(Object o)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2004 7:32 am 
Newbie

Joined: Fri Mar 05, 2004 11:20 am
Posts: 5
Thanks,
I was looking for a method that say if a property is configured lazy, but I think I can also use Hibernate.isInitialized.


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