Re: [hibernate-dev] HHH-12007

2017-11-15 Thread Gail Badner
Yes, your right, it's AbstractEntityTuplizer#determineEntityIdPersistIfNecessary. AFAICT, in most cases, it got resolved by forcing cascade-persist to the key-many-to-one associations. In the one test that failed, DerivedIdentitySimpleParentIdClassDepTest, IncrediblySillyJpaMapsIdMappedIdentifier

Re: [hibernate-dev] HHH-12007

2017-11-15 Thread Steve Ebersole
I'll assume you mean AbstractEntityTuplizer#persistTransientEntity, as called from IncrediblySillyJpaMapsIdMappedIdentifierValueMarshaller via org.hibernate.tuple.entity.AbstractEntityTuplizer#determineEntityIdPersistIfNecessary[1] - if that's not correct let us know. With that assumption... It i

[hibernate-dev] HHH-12007

2017-11-13 Thread Gail Badner
Hi Steve, The test case for HHH-12087 shows that executing a query that has a transient entity bound to it will cause that transient entity to be persisted. Please take a look at the PR for HHH-12087: https://github.com/hibernate/hibernate-orm/pull/2054 It removes IncrediblySillyJpaMapsIdMappe