The following comment has been added to this issue:

     Author: Andrew Stevens
    Created: Sat, 23 Apr 2005 6:56 AM
       Body:
CVS COMMIT LOG: 
SUBJECT: [Xdoclet-devel] CVS: 
xdoclet/modules/hibernate/src/xdoclet/modules/hibernate 
HibernateTagsHandler.java,1.39,1.40
Another new package for UserType in HIB3 (XDT-343)





---------------------------------------------------------------------
View this comment:
  
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-343?page=comments#action_16440

---------------------------------------------------------------------
View the issue:
  http://opensource.atlassian.com/projects/xdoclet/browse/XDT-343

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-343
    Summary: User defined type IDs are mistaken for composite IDs
       Type: Improvement

     Status: Reopened
   Priority: Major

 Original Estimate: 0 minutes
 Time Spent: Unknown
  Remaining: 0 minutes

    Project: XDoclet
 Components: 
             Hibernate Module
   Fix Fors:
             1.2 Beta 3
   Versions:
             1.2 Beta 3

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Tobin Paterson

    Created: Sat, 1 Mar 2003 7:50 PM
    Updated: Sat, 23 Apr 2005 6:56 AM

Description:
In 1.2Beta2 the following:

/**
 * @hibernate.id
 *       column="id"
 *       generator-class="org.tobinuus.domain.hibernate.PKGenerator"
 *       unsaved-value="null"
 *       type="org.tobinuus.domain.hibernate.PKType"
 *       length="32"
 */
public PK getId()
{
   return m_id;
}

correctly generated:

<id
     name="id"
     type="org.tobinuus.domain.hibernate.PKType"
     length="32"
     unsaved-value="null"
>
   <generator class="org.tobinuus.domain.hibernate.PKGenerator">
   </generator>
</id>

the current cvs version mistakes the user defined type as a composite and 
generates:

<composite-id
 name="id"
 class="org.tobinuus.domain.types.PK"
 unsaved-value="null"
>
</composite-id>



---------------------------------------------------------------------
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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to