The following comment has been added to this issue:

     Author: Axel Fontaine
    Created: Wed, 28 May 2003 11:27 PM
       Body:
Ok, my apologies !

I had temporary code in my ant build file (for use with xdoclet 1.2b2) to replace 
certain values, as a temporary workaround for lack of support of hibernate2.
My problem was with a property named 'role'.
Removing the offending snippet cured it.

Ok, to close. Invalid.
---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-501


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-501
    Summary: [was XDT-499] XDoclet incorrectly generates hibernate mapping when 'type' 
in specified
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XDoclet
   Versions:
             1.2 Beta 2
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Axel Fontaine

    Created: Tue, 27 May 2003 1:58 PM
    Updated: Tue, 27 May 2003 1:58 PM

Description:
The following piece of code: 

/** 
* @hibernate.property type="com.xyz.Abc" not-null="true" 
*/ 
public Abc getAbc() { 
return abc; 
} 



incorrectly translates to: 

<property name="name" type="com.xyz.Abc" column="name" not-null="true" unique="false" 
update="true" insert="true" /> 


(note the 'name' & 'column' attributes)


but of course it should be

<property name="abc" type="com.xyz.Abc" column="abc" not-null="true" unique="false" 
update="true" insert="true" /> 



---------------------------------------------------------------------
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/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: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to