1. Hibernate collections with a table without a key colum stackoverflow.comHi i have 2 tables one like this. i am using hibernate version 3.6.5
|
2. Collection without foreign key forum.hibernate.org |
3. Collection table key forum.hibernate.orgI have a many-to-many relationship in my application (between Assessments and QuestionGroups) that I expressed in the following manner: |
4. Automatic Population of Collection Key forum.hibernate.orgNewbie Joined: Wed Jun 08, 2005 11:26 am Posts: 1 Hi I'm having a problem understanding what is happening when I save an object with collections. I've had a good dig around the documentation and the FAQs but think I'm perhaps just making the wrong assumptions. If you look at the mapping files below, when I save a LearningObjectVO (subclass of ... |
5. Setting foreign key in collection when saving. forum.hibernate.orgThe problem is generic (not specific to these classes). I've probably misunderstood the way collections work but I haven't been able to sort it out via google/hibernate.org/java persistance with hibernate. I have 2 classes: Code: public class MemoryBO extends AbstractBO { protected int userId; protected String title; protected String contents; ... |