Following tables are present in our database. Table 1 -------- Part_Id - int identity (10) - Primary key Part_Code - Char (10) Part_Name - Varchar (50)
Table 2 ------- Sequence_Id - int identity (10) - Primary key Part_Id - int(10) - Foreign key --> Table1.Part_Id Replacing_Part_Id - int(10) - Foreign key --> Table1.Part_Id How do we create hibernate mappings for above tables? Please let me know. Many Thanks! ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel