[XDoclet-JIRA] Created: (XDT-1500) hibernate fails with Boolean in primary key
| Newsgroups | gmane.comp.java.xdoclet.devel |
|---|---|
| Message-ID | <[email protected]> |
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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