In a Java desktop application I have to do a crud on a parent and a daughter table. The daughter has a key composed of the key of the parent table and another field. Using netbeans and hibernate I have generated the pojos of the two tables, but hibernate also generates a class that represents the primary key of the daughter table. I do not understand very well, how to make the crud on the daughter board. Can you help me with an example on how to make the crud on the daughter table. I appreciate your collaboration