1. Hibernate uniderictional associations with parents ID forum.hibernate.orgHi All, I am new to hibernate and trying to figure out how 1-to-1 and 1-to-many relationships can be represented in hibernate config, if I want to put the parent id in child row without child object storing a reference to parentId. Let me explain with an example: Lets say I have an object model as below: public class Stock { ... |
2. Association-I want to keep also in the object the parent ID forum.hibernate.org |