[Hibernate] Problem with composite keys

2004-05-04 Thread nomorems
PROBLEM DESCRIPTION === I have two tables (each have composite keys). One composit key is a subset of the other one. I get following message error during mapping processing: net.sf.hibernate.MappingException: Foreign key (ROLE_ABSENCE [ABSENCETYPE_VERSIONID])) must have same numbe

[Hibernate] Problem with composite ID

2004-05-04 Thread nomorems
PROBLEM DESCRIPTION === I have two tables (each have composite keys). One composit key is a subset of the other one. I get following message error during mapping processing: net.sf.hibernate.MappingException: Foreign key (ROLE_ABSENCE [ABSENCETYPE_VERSIONID])) must have same numbe