This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
none of the columns in Table2 is primary key. How do I establish a one-to-many relationship between table1(id_chat_Session) and Table2.I have read that, using composite key can be an option. I can make both the columns as composite key of the table. But how do I map the column id_Chat_session in table1 and table2(id_chat_Session,id_user).
Joined: Jan 03, 2008
Is there anything else that needs to be done as the I am not being able to fetch the object ?