From: <leg...@at...> - 2004-01-05 12:20:15
|
The following comment has been added to this issue: Author: Eileen Huan Created: Mon, 5 Jan 2004 6:19 AM Body: A .zip file has been uploaded by me as Attachment of this bug report. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Unassigned Priority: Critical Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Mon, 5 Jan 2004 6:19 AM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2004-01-05 13:34:16
|
The following comment has been added to this issue: Author: Eileen Huan Created: Mon, 5 Jan 2004 7:34 AM Body: When I write the "joined-subclass" element inside the hbm file of the super class "Resource" instead of writing it in a independent hbm file, everything works very well!! I bet what I reported is sure to be a bug. BTW: 1> The build.xml is modified from the sample build.xml file of the hibernate toolset tutorial (http://www.hibernate.org/hib_docs/online/workshop_toolset/presentation/html). 2> The "error message of verbose.txt" file in the Attachment means its context is the error message I got when using the command "ant h2j -verbose". So as "error message of debug.txt" file. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Open Priority: Critical Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Mon, 5 Jan 2004 7:34 AM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2004-01-05 13:46:16
|
The following comment has been added to this issue: Author: Eileen Huan Created: Mon, 5 Jan 2004 7:45 AM Body: I'm using hibernate 2.1-final and hibernate-extensions 2.0.2. ************************************************************** All jars in F:\DB\hbm\lib are: ant.jar c3p0.jar cglib-asm.jar cglib2.jar commons-beanutils.jar commons-collections.jar commons-dbcp.jar commons-lang.jar commons-logging.jar commons-pool.jar concurrent.jar connector.jar dom4j.jar ehcache.jar hibern8ide.jar hibernate-tools.jar hibernate2.jar hsqldb.jar jaas.jar jboss-cache.jar jboss-common.jar jboss-jmx.jar jboss-system.jar jcs.jar jdbc2_0-stdext.jar jdom.jar jgroups.jar joi-ext.jar jta.jar junit.jar log4j-1.2.8.jar log4j.jar maven-xdoclet-plugin-1.2b4.jar middlegen-2.0-b2-dev.jar middlegen-hibernate-plugin-2.0-b2-dev.jar odmg.jar optional.jar oscache.jar pf-joi-full.jar proxool.jar swarmcache.jar tools.jar velocity-1.4-dev.jar xalan.jar xdoclet-1.2b4.jar xdoclet-hibernate-module-1.2b4.jar xdoclet-xdoclet-module-1.2b4.jar xerces.jar xjavadoc-1.0.jar xml-apis.jar ***************************************************************** --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Open Priority: Critical Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Mon, 5 Jan 2004 7:45 AM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2004-01-05 21:23:15
|
The following comment has been added to this issue: Author: Max Rydahl Andersen Created: Mon, 5 Jan 2004 3:20 PM Body: When i just run hbm2java with CimClass.hbm.xml Resource.hbm.xml CimProperty.hbm.xml BusinessUnit.hbm.xml as it's arguments i get 4 corresponding java files without a problem. And here BusinessUnit.hbm.xml extends Resource.hbm.xml Your build.xml does not run out-of-da-box and require a ton of external libs (xdoclet etc.) that I don't have the time to get + it does not make the sample simple. Make a smaller example that fails please. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Open Priority: Critical Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Mon, 5 Jan 2004 3:20 PM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2004-01-06 05:19:15
|
The following comment has been added to this issue: Author: Eileen Huan Created: Mon, 5 Jan 2004 11:18 PM Body: I really don't know how you make the long names of those hbm files as command line parameters. what I did just followed hibernate toolset demo on your hibernate.org website (http://www.hibernate.org/hib_docs/online/workshop_toolset/presentation/html). My steps in command line are: f:\set-env.bat f:\ant clean f:\ant h2j BTW: I have cut my build.xml short and uploaded it as a new attachment. The former build.xml is almost the same as the one in your hibernate toolset demo on hibernate.org. After I write the hbm definition of all subclass into the hbm file of the superclass that is Resource.hbm.xml, and delete all "extends = ..." element, the "hbm2java" tool run perfectly well! Since you'r a guy from hibernate team, I hope I can get a real answer from you. Thank you for your help. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Resolved Priority: Critical Resolution: CANNOT REPRODUCE Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Mon, 5 Jan 2004 11:18 PM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2004-01-06 06:36:15
|
The following comment has been added to this issue: Author: Eileen Huan Created: Tue, 6 Jan 2004 12:35 AM Body: All the jars can found in the "lib" package of hibernate toolset demo package. Thanks, Max. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Resolved Priority: Critical Resolution: CANNOT REPRODUCE Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Tue, 6 Jan 2004 12:35 AM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2004-04-05 17:17:56
|
The following comment has been added to this issue: Author: Thomas Green Created: Mon, 5 Apr 2004 12:21 PM Body: I get this exact same problem, and on looking into it, it looks like a bug in the Ant task. It cycles through the mapping files and calls CodeGenerator on each file individually, instead of calling CodeGenerator once on the entire file list. Therefore there is no way it could possibly work using the ant task. I'll try and submit a patch if I can get it working. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-600?page=comments#action_12801 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Resolved Priority: Critical Resolution: CANNOT REPRODUCE Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Mon, 5 Apr 2004 12:21 PM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |
From: <leg...@at...> - 2004-04-06 01:12:54
|
The following comment has been added to this issue: Author: Thomas Green Created: Mon, 5 Apr 2004 8:16 PM Body: I *realize* that you have to get the files in the right order (that was obvious from the docs from the beginning), which is why I said it is "still a pain" to do that. That is beside the point, though, as there was a bug in the ant task. I'm not sure I understand your comment. Are you saying there was no bug in the ant task? --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-600?page=comments#action_12808 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-600 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-600 Summary: hbm2java can't mapping joined-subclasses correctly which are in independent files from the file of the super class. Type: Bug Status: Closed Priority: Critical Resolution: CANNOT REPRODUCE Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: toolset Versions: 2.1 Assignee: Max Rydahl Andersen Reporter: Eileen Huan Created: Mon, 5 Jan 2004 6:16 AM Updated: Mon, 5 Apr 2004 8:16 PM Environment: Apache Ant version 1.5.4 compiled on August 12 2003 Buildfile: build.xml Detected Java version: 1.4 in: C:\j2sdk1.4.2_03\jre Detected OS: Windows 2000 Description: I have posted my problem on hibernate forum as "http://forum.hibernate.org/viewtopic.php?t=926802&sid=a04167043b0b8cd84c79b9d16b332a7e". --------------------------------------------------------------------- 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 |