hibernate-reactive icon indicating copy to clipboard operation
hibernate-reactive copied to clipboard

@CollectionId

Open gavinking opened this issue 4 years ago • 1 comments

The @CollectionId annotation is the equivalent of the old <idbag> mapping.

Now, this isn't something that is defined by the JPA spec, and I doubt that many people use it. But it someone asks for it, in principle it's not very hard to implement, we just need a reactified version of PersistentCollection.preInsert() that makes use of the reactive id generation stuff.

Anyway, I'm opening the issue just as a way of documenting that it's not supported.

gavinking avatar Feb 20 '21 16:02 gavinking