-->
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.  [ 1 post ] 
Author Message
 Post subject: Insert into 2 tables with crossed foreign keys
PostPosted: Fri Aug 20, 2010 11:55 am 
Newbie

Joined: Tue Sep 09, 2008 1:10 pm
Posts: 4
Hello!
I have two entities mutually referencing each other, table A has a foreign key to Table B, and Table B has a foreign key to A. I know that it perhaps sounds strange but the model is that way...When I trie eecute the save option, I get an "Invalid identifier" error.

Does anybody know if there is some way to dissable foreign constrains from Hibernate using HQL or could anybody give me any clue please?

Thank you very much


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.