The following comment has been added to this issue:
Author: Eric Pugh
Created: Fri, 10 Sep 2004 10:03 AM
Body:
I think that you can't assign a java.lang.Date as a primary key? I can't remember,
and have never tried it.. It seems to me that assinged still means you can only use
primitive datatypes, you are just supplying them, not hibernate..
Anyone else want to weigh in on this?
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-543?page=comments#action_14802
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-543
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-543
Summary: Ablility to generate map file with assigned date as primary key using
hibernate-xdoclet
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Hibernate Module
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Dan Tran
Created: Sat, 12 Jul 2003 4:14 AM
Updated: Fri, 10 Sep 2004 10:03 AM
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/xdoclet/secure/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: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel