-->
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.  [ 2 posts ] 
Author Message
 Post subject: Objects multiple loaded
PostPosted: Thu Jun 28, 2007 3:02 am 
Beginner
Beginner

Joined: Tue May 29, 2007 3:14 am
Posts: 28
When I perform a CreateCriteria() with some Expressions I get a list where all objects are double.

How could this be?

Hibernate version:
1.0.4

MappingFile

<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<class name="ConditionTreeNode" table="conditiontreenode" >
<id name="ID" column="ID" type="Int32" unsaved-value="0">
<generator class="identity" />
</id>
<many-to-one name ="Condition" column ="ID_RefCondition" class ="Condition" fetch="join" />
<many-to-one name ="ValueType" column ="ID_RefValueType" class ="ConditionTreeNodeValueType" fetch="join" />
<property name="Value" column="Value" type="String" length="50" />
<many-to-one name ="ParentTreeNode" column ="ID_RefParentTreeNode" class ="ConditionTreeNode" />
<many-to-one name ="NextTreeNode" column ="ID_RefNextTreeNode" class ="ConditionTreeNode" />
<many-to-one name ="PreviousTreeNode" column ="ID_RefPreviousTreeNode" class ="ConditionTreeNode" />
</class>

</hibernate-mapping>


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 28, 2007 7:48 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
Looks like the issue described in http://www.hibernate.org/117.html#A12


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