+1 for that. Stumbled over that once or twice in the past and wondered
what the reasons were.
Mit freundlichen Grüßen,
------------------------------------------------------------------------
*Christian Beikov*
Am 27.03.2017 um 19:37 schrieb Steve Ebersole:
In all versions of Hibernate to-date we have required that the Java
type of
an id be Serializable. Strictly speaking JPA has no such restriction - it
says ids can be any Object type *unless* the entity is to be serialized, in
which case the id must be Serializable (duh).
As we transition into 6.0, I wonder if we want to loosen this restriction
and allow the id to be any Object type as well. There really is no valid
reason (beyond the obvious case explicitly discussed in the JPA spec) for
requiring the id to be Serializable.
WDYT?
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev