Uploaded image for project: 'Hibernate ORM'
  1. HHH-833

AbstractPersistentCollection should define a serialVersionUID

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.5
    • Fix Version/s: None
    • Component/s: hibernate-core
    • Labels:
      None
    • Environment:
      Any
    • Last commented by a user?:
      true
    • Sprint:

      Description

      We have noticed that JBoss ships with a few JARs from Hibernate and in case of a client/server environment whereby the JAR on the client is 3.0.5 some collection classes could not be deserialised due to some difference in the calculated serialVersionUID.

      We would recommend to add serialVersionUID to AbstractPersistentCollection to avoid the issue. The serialVersionUID should not change unless the new version is incompatible with the old one.

      Thanks
      Benoit

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                benoitx Benoit Xhenseval
                Participants:
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: