-->
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.  [ 4 posts ] 
Author Message
 Post subject: Define elt for me.
PostPosted: Fri Jul 07, 2006 12:33 am 
Newbie

Joined: Wed Jul 05, 2006 10:37 pm
Posts: 6
I keep running into this elt variable. it appears in by database tables, in my various and bountiful exceptions. I understand that it means i've done something wrong, but what does it mean exactly?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 07, 2006 3:26 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
i guess you mean elt column ?

then that is the default name for a value type in a collection.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 03, 2008 11:46 am 
Newbie

Joined: Sun May 09, 2004 1:50 am
Posts: 3
This thread seems a little bit old.. but I guest this post may help others.

I had a mapping like this:
Code:
<list name="dataViews" table="gp_rel_rprt_dtvw">
            <key column="report_id" />
            <list-index column="list_index" />
            <many-to-many class="DataView" foreign-key="data_view_id" />
</list>

And this caused the elt column to be created. After RTFM again I realized my mistake. I haven't specified the column that points to the class DataView (wrong attribute), so Hibernate was kind enough and provide a column 'elt' for me.

Then the code became:
Code:
<list name="dataViews" table="gp_rel_rprt_dtvw">
            <key column="report_id" />
            <list-index column="list_index" />
            <many-to-many class="DataView" column="data_view_id" />
</list>

So I got my column data_view_id in place.
Hope it helps.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 03, 2008 6:24 pm 
Newbie

Joined: Wed Jul 05, 2006 10:37 pm
Posts: 6
Woah, you're right this thread Is a little old.

Thanks for the concise answer though, It definitely will be helpful for people out there.


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