1. How do I join on two columns in the hibernate mapping file using the |
2. composite-id in a separate mapping file forum.hibernate.org ]> |
3. Is possible to restrict composite-id in mapping file? forum.hibernate.orgHibernate version 3.2.5 Database MySQL I have a class with a composite-id (relation table), and i need to add some restrictions to the possilbe values. I'd like to know if there is any way to restrict it in mappig files (I prefer not to do it by code). The mapping file is: Code: |
4. composite primary key mapping in mapping file forum.hibernate.orgNewbie Joined: Fri May 22, 2009 11:14 am Posts: 3 I have a problem in mapping a primary key of table A in the collection list of a mapping document. Given below is my mapping file class, |