Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-170
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-170
Summary: Ablility to generate map file with assigned date as primary key using xdoclet
Type: Bug
Status: Unassigned
Priority: Minor
Project: Hibernate2
Components:
toolset
Versions:
2.0.1
Assignee:
Reporter: Dan Tran
Created: Thu, 10 Jul 2003 12:27 AM
Updated: Thu, 10 Jul 2003 12:27 AM
Environment: XDoclet 1.2 beta3
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/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|