Hi Gail,
The mapping is IMO invalid. For removal etc. to work properly, the direction
needs to be deducible. However, I’ve observed this mapping as a workaround for
supporting lazy loading on either side of the association, prior to our fixes
in 5.4 with HHH-12842 [1] . The mapping works in
PostgreSQL doesn’t allow nullable columns in a compound primary key. It allows
a unique constraint on a nullable column, but then it happily inserts the two
values below - without constraint violation error.
I too have stumbled upon the need for nullable identifiers in Hibernate
however. Mostly
I tend to use this.getClass().isInstance(o) and this.getClass().cast(o) which
works even in a mapped super class on most occasions. (Assuming that the proxy
delegates equals to a concrete target).
Jan-Willem
> Op 27 aug. 2019 om 22:29 heeft Steve Ebersole het
> volgende geschreven:
>
> Gen
SPI to hopefully address some shortcomings,
> some of which you bring up. I hope you add your input to some of those
> discussion threads on this list about that redesign.
>
>
> On Mon, Apr 24, 2017 at 2:02 PM Jan-Willem Gmelig Meyling
> mailto:jan-wil...@youngmediaexperts
Hi everyone,
Out of curiosity I’ve tried to implement a UserCollectionType for Guava’s
Multimap [1] based on this [2] article thats doing a similar job for Apache’s
MultiMap. Doing so I’ve stumbled upon two issues, for which I’d like to receive
some feedback.
As far as I can see, the UserColle
Hi Hibernate developers,
I stumbled upon an issue today and I am wondering whether the following would
be possible using Hibernate, and if not, whether such could actually be
implemented, or if I actually hit a boundary of the alias injection.
My problem has to do with trying to map the result