-->
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: Invalid Column Index Name
PostPosted: Sun Jun 10, 2007 2:48 pm 
Newbie

Joined: Wed May 30, 2007 1:22 am
Posts: 7
Hi ,

Iam using JPA/Hibernate EntityManager , my problem is that when i tried to persist my Entity it gives me "Invalid Column Index Name" Exception , altough i was able to insert the Record directly to the DB , is this familiar , any hints ???

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 10, 2007 2:59 pm 
Newbie

Joined: Wed May 30, 2007 1:22 am
Posts: 7
sorry i forgot to mension that this is the part that the problem will raised when added :

@ManyToOne(fetch=FetchType.EAGER)
@JoinColumns({@JoinColumn(name="CNT_CODE" , referencedColumnName="CNT_CODE") ,
@JoinColumn(name="PRV_CODE" , referencedColumnName="PRV_CODE") ,
@JoinColumn(name="PARENT_CITY_CODE" , referencedColumnName="CITY_CODE")
})


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 12, 2007 1:42 am 
Newbie

Joined: Wed May 30, 2007 1:22 am
Posts: 7
hi again ,

i wanted to share some new info about this issue , when i added the "insertable=false, updatable=false" to the Assosiation Columns it works fine , but on this case i won't be able to update the fields within the assosiation , any hints or ideas ,
Thanks

Best Regards,


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.