From: Matteo (JIRA) <no...@at...> - 2006-03-17 10:46:24
|
Bad hbm2hbmxml reverse-engineer ------------------------------- Key: HBX-620 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-620 Project: Hibernate Tools Type: Bug Components: reverse-engineer Environment: Hibernate tools 3.1.0 beta4, MySQL 4.1.12 Reporter: Matteo Attachments: ArticoliOfferti.hbm.xml, OfferteFornitori.hbm.xml, ddl.sql Reverse engineering from the ddl attached produced two mappings also attached. When trying to generate the code with hbm2java it fails with the following exception: org.hibernate.MappingException: Foreign key (FK405FC7E1E8A9975D:articoli_offerti [fk_offerte_fornitori_for])) must have same number of columns as the referenced primary key (offerte_fornitori [fk_fornitori,fk_rdo]) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |