Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-639 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-639 Summary: Error in property element when type is a static inner class Type: Bug Status: Assigned Priority: Major Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Hibernate Module Versions: 1.2 Beta 3 Assignee: xdoclet-devel (Use for new issues) Reporter: Ross Johnson Created: Sat, 20 Sep 2003 11:41 AM Updated: Sat, 20 Sep 2003 11:41 AM Environment: Windows XP, J2SDK 1.4.2, Hibernate 2.0.3, Xdoclet 1.2b3 Description: I have a persistent class which contains a public static inner class. When Xdoclet generates the hbm.xml file, the property.type attribute is writen using normal Java notation: package.Class.InnerClass. The problem is that Hibernate requires that inner classes be named: package.Class$InnerClass in the mapping file. Here is an example of the generated mapping file... <property name="inner" type="test.Outer.Inner" update="true" insert="true" column="inner" /> >From the hibernate docs... You may persist any static inner class. You should specify the class name using the standard form ie. eg.Foo$Bar. --------------------------------------------------------------------- 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/xdoclet/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
