-->
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: set one-to-many whats wrong ??
PostPosted: Thu Dec 08, 2005 3:33 pm 
in my mapping file i got something like this:

<set table="KARTOTEKA_INDEKSOWA" name="KartotekiIndeksowe" inverse="true" >
<key column="ID_ANALITYKA_KSIEGOWA" />
<one-to-many class="Namespace.KartotekaIndeksowa, MyLibrary" />
</set>

whole object is loaded ok, but when i try to load set KartotekiIndeksowe
hibernate is trying to execute query:
SELECT kartotekii0_.FIELD_NAME in which the table name is wrong
and it result in exception.

whats wrong ??!! i use oracle
thanks in advance
best regards
roman


Top
  
 
 Post subject:
PostPosted: Thu Dec 08, 2005 3:42 pm 
i want to apologize for last post, i get angry and thought somethings wrong with nhibernate, but not this time ;-)
my mistake, the problem was somewhere else (misspeled id column)
: )
regards
roman


Top
  
 
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.