Patches item #469455, was opened at 2001-10-09 01:18
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=469455&group_id=31602

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Neale Swinnerton (neales)
Assigned to: Nobody/Anonymous (nobody)
Summary: allow boolean in PK

Initial Comment:
If the Primary key of a class contains a boolean 
(primitive), the hashCode() method in the generated PK 
class won't compile, because it assumes that all 
primitive types can be cast to an int.

This patch introduces two new tags

ifIsBooleanPrimitive

and 

ifIsNotBooleanPrimitive

and tinkers with the entitypk.j template to use them
 
patch created with....

cvs diff -u ./src/xdoclet/SubTask.java  
./resources/xdoclet/ejb/entitypk.j > 
/tmp/xdoclet.boolean.primitive.patch


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402706&aid=469455&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to