The following issue has been updated:
Updater: Alex Grant (mailto:[email protected])
Date: Wed, 10 Aug 2005 4:01 PM
Comment:
A patch to HibernateTagsHandler to fix this problem.
Changes:
Attachment changed to HibernateTagsHandler.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1500?page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1500
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1500
Summary: hibernate fails with Boolean in primary key
Type: Bug
Status: Open
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Hibernate Module
Versions:
1.2.3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Alex Grant
Created: Wed, 10 Aug 2005 4:01 PM
Updated: Wed, 10 Aug 2005 4:01 PM
Environment: Windows XP SP2, Ant 1.6.5, XDoclet 1.2.3, JDK 1.4.2_08
Description:
If you create a composite primary key where one of the fields is a java.lang.Boolean, XDoclet fails with a NullPointer in
HibernateTagsHandler.hasCompositeId_Impl(String, boolean)
The fix is straightforward - in the line of code beginning "boolean isPrimitive = ..." needs to also test for java.lang.Boolean
---------------------------------------------------------------------
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
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.