[ 
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-543?page=comments#action_17432
 ] 

Andrew Stevens commented on XDT-543:
------------------------------------

CVS COMMIT LOG: 
SUBJECT: [Xdoclet-devel] CVS: 
xdoclet/modules/hibernate/src/xdoclet/modules/hibernate 
HibernateTagsHandler.java,1.45,1.46
Add java.util.Date as a primitive ID type.  XDT-543 & XDT-1118



> Ablility to generate map file with assigned date as primary key using 
> hibernate-xdoclet
> ---------------------------------------------------------------------------------------
>
>          Key: XDT-543
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-543
>      Project: XDoclet
>         Type: Bug
>   Components: Hibernate Module
>     Versions: 1.2 Beta 3
>     Reporter: Dan Tran
>     Assignee: xdoclet-devel (Use for new issues)

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

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
xdoclet-devel mailing list
xdoclet-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to