[ http://jira.andromda.org/browse/HIB-87?page=history ]
Peter Friese resolved HIB-87:
-----------------------------
Resolution: Fixed
Done. Classifiers now support calculating a serial version UID based on various
aspects of the underlying model element (class name, class visibility,
attributes and their names and visibilities and types, methods and their
visibility and types). Hibernate entity interfaces and impls are generated with
their serial version UID automatically calculated. If the user specifies a
tagged value @andromda.serialVersionUID, this value will override the
calculated value.
> Entity classes lack serial version UIDs
> ---------------------------------------
>
> Key: HIB-87
> URL: http://jira.andromda.org/browse/HIB-87
> Project: Hibernate Cartridge
> Type: Improvement
> Versions: 3.0M3
> Reporter: Peter Friese
> Assignee: Peter Friese
> Fix For: 3.0 RC2
>
> Hibernate entities (generated by HibernateEntity.vsl) are marked as
> serializable, but do not get assigned a serial version UID by the generator.
> This proves to be a problem in my current project (we are sending Entities
> across the wire using Spring's HTTPInvoker mechanism).
> According to
> http://java.sun.com/j2se/1.4.2/docs/guide/serialization/spec/version.html and
> http://c2.com/cgi/wiki?AlwaysDeclareSerialVersionUid, a serial version UID is
> a must for all serializable classes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/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: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel