-->
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: Problems with Persistent Bag
PostPosted: Wed May 11, 2005 7:14 am 
Beginner
Beginner

Joined: Mon Mar 21, 2005 1:39 pm
Posts: 28
Hallo together,
my problem is the follwing:
i have saved my objects (all of the same class) in a database with hibernate annotations.
When I fetch the objects from the database i have the following problem: I have to check, if one of the attributes (type collection) is null or not. If I make the following check: attribute == null it is returned false, because the attribute has a reference to PersistentBag, even although I have really not created an instance of this attribute (I mean with the "new" operator).

Could somebody give me some hints?

Regards,
Martin


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 11, 2005 10:43 am 
Beginner
Beginner

Joined: Mon Mar 21, 2005 1:39 pm
Posts: 28
Has really nobody an idea?

Regards,
Martin


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 11, 2005 11:29 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
I have no idea about what the question is that I should have an idea about.


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.