|
Report from the discussion started here http://lists.jboss.org/pipermail/hibernate-dev/2015-January/012082.html
The idea was to support UUID generation when @GeneratedValue(AUTO) is set on a UUID property. I proposed String too but Steve is more skeptical.
Another aspect is to bind the UUID property to the native UUID type in the database. This is related to HHH-9562 and HHH-9574
A final and related aspect is to make the AUTO/IDENTITY/SEQUNCE generation mapping to be customizable based on data like the (OGM) dialect and the type. For example OGM would plug an implementation that uses MongoDB ObjectId generation for IDENTITY.
|