The following comment has been added to this issue:

     Author: Xavier Cho
    Created: Mon, 26 Jan 2004 11:10 PM
       Body:
This is caused by returnType.getMethod("equals(java.lang.Object)", true) in 
xdoclet.modules.hibernate.HibernateTagsHandler:529 returns null for the specified id 
class type. I haven't followed this issue deep enough to identify the actual cause, 
but #753, #543, #388 all seem to be caused by this problem.
---------------------------------------------------------------------
View the issue:

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-543
    Summary: Ablility to generate map file with assigned date as primary key using 
hibernate-xdoclet
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

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

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Dan Tran

    Created: Sat, 12 Jul 2003 4:14 AM
    Updated: Mon, 26 Jan 2004 11:10 PM

Description:
The following class with hibernte tag generates exception when feeding thru xdoclet to 
generate hbm.xml file 

package org.glvnsjc.model; 

/** 
  * @author Dan Tran 
  * @hibernate.class table="day" 
  */ 

public class Day implements java.io.Serializable { 

    private java.util.Date day; 

    public Day() { 
    } 

    /** 
      * @hibernate.id generator-class="assigned" 
      */ 

    public java.util.Date getDay() { 
        return this.day; 
    } 
    public void setDay(java.util.Date value) { 
        this.day = value; 
    } 

} 

here is the stack trace 

hibernatedoclet] Generating mapping file for org.glvnsjc.model.Day. 
[hibernatedoclet] org.glvnsjc.model.Day 
[hibernatedoclet] (TemplateEngine.invokeMethod 541 ) Invoking method fai 
led: xdoclet.modules.hibernate.HibernateTagsHandler.ifHasCompositeId, line=100 o 
f template file: jar:file:C:\dev\thirdparty\sourceforge\xdoclet\lib\xdoclet-hibe 
rnate-module-1.2b4.jar!/xdoclet/modules/hibernate/resources/hibernate.xdt 
[hibernatedoclet] java.lang.reflect.InvocationTargetException 
[hibernatedoclet] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M 
ethod) 




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



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to