From: <leg...@at...> - 2003-10-01 13:58:21
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Wed, 1 Oct 2003 8:57 AM Body: What version is this happening in ? It was a bug at some point - but should be fixed. Please respond in what version you are running this. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-372 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-372 Summary: hbm2java generates two default constructors Type: Bug Status: Assigned Priority: Major Project: Hibernate2 Components: toolset Assignee: Max Rydahl Andersen Reporter: Les Hazlewood Created: Tue, 30 Sep 2003 1:10 PM Updated: Tue, 30 Sep 2003 5:04 PM Environment: Linux, w/ ant 1.5.1 Description: The following mapping generates a class with two default constructors, and therefore compilation fails: <hibernate-mapping> <class name="com.foobar.db.Testing" table="test_test_test"> <id name="id" type="string" unsaved-value="null" > <column name="CAT_ID" sql-type="char(32)" not-null="true"/> <generator class="uuid.hex"/> </id> <property name="name" type="string" not-null="true"> <column name="NAME" sql-type="varchar(16)"/> </property> </class> </hibernate-mapping> --------------------------------------------------------------------- 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 |