Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Oracle Community (OTN)
This discussion is archived
on Jan 12, 2007 6:48 AM by 843844
How to create relationships within tables using hibernate/mysql
Oct 31, 2006 12:52 PM
I need to create following relationships between tables i have below.
I am new to hibernate.
I am using Mysql as database.
These are the following table with relationships.
Need to write create,select,update query for these relationships between table.
Bran_ID:integer(primarykey), Comm_ID:integer(foreign key), Comp_ID:integer,Compliance_status:BOOL
has the relation to Comm table as tracked by
Comm_ID:integer(primarykey),Comp_ID:integer(foreign key),Name varchar,AF varchar,
has the relation to test table as validates
Test_ID:integer (primarykey), Comm_ID integer (foreign key), Description varchar
comp_id:integer (primary key),name varchar,owner varchar.
has the relation belongsto comm_table.
Any pointers or sample codes where can i get this information ie create,update,select queries with hibernate and Mysql in java.
This content has been marked as final.
Show 1 reply
Re: How to create relationships within tables using hibernate/mysql
Jan 12, 2007 6:48 AM
in response to
Check this out