Hum, with the fact that this object now points to metadata, I wonder if we should force EhCache, Map and Infinispan to have their own version of EntityKey / RowKey and AssociationKey (or an appropriate externalizer).
Emmanuel On Mon 2014-02-03 11:56, Gunnar Morling wrote: > Hi, > > I'm wondering why org.hibernate.ogm.grid.AssociationKey implements > Serializable. When is it actually serialized? > > I'm suspecting the answer is "never", as the type of the "metadata" member > is not serializable, so I'd expect a NotSerializableException to be raised. > > If so, does anything speak against making AssociationKey not implement > Serializable? > > Thanks, > > --Gunnar > _______________________________________________ > hibernate-dev mailing list > hibernate-dev@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev