[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-543?page=all
]
Paul Galbraith resolved XDT-543:
--------------------------------
Fix Version: 1.3
Resolution: Fixed
> 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)
> Fix For: 1.3
>
>
> 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 xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel