Re: [hibernate-dev] Composite IDs with a null property/field

2019-12-18 Thread Steve Ebersole
I've already chimed in ;) I don't think this is something we should do. On Wed, Dec 18, 2019, 3:44 PM Gail Badner wrote: > The main obstacle I see is that Hibernate assumes that ID columns are > non-nullable, even if ID columns are explicitly mapped as nullable. > > This is consistent with the

Re: [hibernate-dev] Composite IDs with a null property/field

2019-12-18 Thread Gail Badner
The main obstacle I see is that Hibernate assumes that ID columns are non-nullable, even if ID columns are explicitly mapped as nullable. This is consistent with the JPA spec, which says: "Every entity must have a primary key." ANSI SQL 92 says: "In addition, if the unique constraint was define

[hibernate-dev] Google Spanner support for Hibernate ORM

2019-12-18 Thread Sanne Grinovero
Hi all, Ray Tsang just wrote a nice blog on in.relation.to about the new support for Google Spanner in Hibernate ORM: - https://in.relation.to/2019/12/18/google-cloud-spanner-dialect/ It's Ray's first blog on in.relation.to, you might have heard of him as he presents frequently at events in his