From: <leg...@at...> - 2003-08-12 01:11:48
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-248 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-248 Summary: Repeated column in mapping Type: Bug Status: Unassigned Priority: Major Project: Hibernate2 Versions: 2.1 beta 1 Assignee: Reporter: Alessandro Vernet Created: Mon, 11 Aug 2003 8:02 PM Updated: Mon, 11 Aug 2003 8:02 PM Description: Declaring in a mapping: <set name="employeeIds" table="owf_employee_region"> <key column="employee_id"/> <element column="employee_id" type="long"/> </set> Throws the exception: net.sf.hibernate.MappingException: Repeated column in mapping for collection: bean.Region.employeeIds column: employee_id at net.sf.hibernate.collection.CollectionPersister.checkColumnDuplication(CollectionPersister.java:884) at net.sf.hibernate.collection.CollectionPersister.<init>(CollectionPersister.java:193) at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:146) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:647) I think this used to work with 2.0.2. Alex --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |