Bugs item #532832, was opened at 2002-03-21 00:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=532832&group_id=31602

Category: ejbdoclet
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Stevens (stevensa)
Assigned to: Nobody/Anonymous (nobody)
Summary: Primary Key class bug

Initial Comment:
So we don't forget it...

Leon Doud reported on xdoclet-devel:

The primary key's generated hashCode() method stores
its value in a transient int _hashCode.  It only
generates the value if the _hashCode ==
Integer.MIN_VALUE.  

If the object is serialized the _hashCode is not saved
because it is transient, and when deserialized
_hashCode is initialized to ZERO not MIN_VALUE.  This
causes the hashCode() method to never recalculate the
value of _hashCode() after being serialized.


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

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

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

Reply via email to