-->
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: How to recognize if collection has values or is a empty prox
PostPosted: Tue Feb 13, 2007 12:10 pm 
Newbie

Joined: Mon Jan 29, 2007 5:14 pm
Posts: 8
Location: Czech Republic, Europe
I'm using NHibernate 1.2b3.

I have a collection in an objects. Can I recognize, if the collection is a "empty" NH proxy (will load values once it's enumerated) or if it already has real values?

Thank you in advance for replies.
Tomas Tintera


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 13, 2007 11:28 pm 
Beginner
Beginner

Joined: Mon Jan 08, 2007 11:59 pm
Posts: 31
you can use NHibernateUtil.IsInitialized

Job Samuel


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 14, 2007 5:38 am 
Newbie

Joined: Mon Jan 29, 2007 5:14 pm
Posts: 8
Location: Czech Republic, Europe
samueljob wrote:
you can use NHibernateUtil.IsInitialized

Job Samuel

Thank you! Credit added!


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.