[ http://jira.andromda.org/browse/HIB-87?page=comments#action_11372 ] Peter Friese commented on HIB-87: ---------------------------------
I'm trying the MIF id approach. Guess you mean the RefBaseObject.getRefId() method that I can access by calling getId() on a model element, right? > 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 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/andromda-devel
