-->
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: Foreign key (FK28B2F18BB27756D5) must have same number of co
PostPosted: Wed Nov 11, 2009 7:13 am 
Newbie

Joined: Wed Nov 11, 2009 6:41 am
Posts: 7
hiii
I have two tables

Phy_table
------
phy_id (pk autoincrement)
Special_id (Fk Special_table)

Special_table
-------------
Special_id (pk , Auto increment)

Here phy-table is a parent table and Special_table is a child table
how to map this in hibernate. plz help me .


Top
 Profile  
 
 Post subject: Re: Foreign key (FK28B2F18BB27756D5) must have same number of co
PostPosted: Wed Nov 11, 2009 8:57 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
http://docs.jboss.org/hibernate/stable/core/reference/en/html_single/#associations

_________________
-----------------
Need advanced help? http://www.viada.eu


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