[XDoclet-JIRA] Resolved: (XDT-543) Ablility to generate map file with assigned date as primary key using hibernate-xdoclet
"Paul Galbraith (JIRA)" <[email protected]> Sun, 16 Apr 2006 08:59:57 -0500 (CDT)
| Newsgroups | gmane.comp.java.xdoclet.devel |
|---|---|
| Message-ID | <183251742.1145195997070.JavaMail.j2ee@atlassian01.managed.contegix.com> |
[ 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