Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

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


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-388
    Summary: BigDecimal @hibernate.id generates 
java.lang.reflect.InvocationTargetException
       Type: Bug

     Status: Assigned
   Priority: Major

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XDoclet
  Component: Hibernate Module
   Versions:
             SNAPSHOT (CVS)

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Robert Kelly

    Created: Tue, 18 Mar 2003 12:38 AM
    Updated: Tue, 18 Mar 2003 12:38 AM
Environment: Redhat 8.0, j2sdk 1.4.1, ant 1.5+, hibernate 1.2.3

Description:
I have this id mapping:

        /**
          * @return          The number value
         * @hibernate.id    column="MDMD#" generator-class="assigned"
         *      unsaved-value="null" type="big_decimal"
         */
        public BigDecimal getNumber() {
                return _number;
        }
When invoking hibernatedoclet I get the following trace snippet:

Invoking method failed: 
xdoclet.modules.hibernate.HibernateTagsHandler.ifHasCompositeId, line=95 
of template file: 
jar:file:/opt/devbase/xdoclet/xdoclet-hibernate-module-1.2b3-dev.jar!/xdoclet/modules/hibernate/resources/hibernate.xdt

java.lang.reflect.InvocationTargetException

If I change the property type to Long (and get/setters) it works.




---------------------------------------------------------------------
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:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to