-->
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: IList index is not being filled
PostPosted: Fri Dec 07, 2007 5:20 pm 
Newbie

Joined: Wed Aug 08, 2007 8:55 am
Posts: 9
Hi,

I'm having a problem in IList mapping.
When I save the object, nhibernate isn't mapping the list index to the <index column="order" />
Shouldn't it be managed by nhibernate, or must I manage by hand? Must I create a regular property mapping to the same column?

Best Regards,
Pedro A.


Top
 Profile  
 
 Post subject: Re: IList index is not being filled
PostPosted: Fri Dec 07, 2007 5:33 pm 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
PedroA wrote:
Hi,

I'm having a problem in IList mapping.
When I save the object, nhibernate isn't mapping the list index to the <index column="order" />
Shouldn't it be managed by nhibernate, or must I manage by hand? Must I create a regular property mapping to the same column?

Best Regards,
Pedro A.


Yes it should. See if this puts you in any direction:

http://forum.hibernate.org/viewtopic.ph ... highlight=


Farzad-


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 08, 2007 10:06 am 
Newbie

Joined: Wed Aug 08, 2007 8:55 am
Posts: 9
I can't seem to figure it out.
Does the column in the database must have any special formula?
Can anybody post a full working example, I follow the ones in documentation but most dont show either the Classes nor the SQL.

Best regards,
Pedro A.


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.