Re: [hibernate-dev] hibernate.id.optimizer.pooled.preferred=hilo or legacy-hilo

2019-08-28 Thread Gail Badner
I agree completely. Thanks, Gail On Wed, Aug 28, 2019 at 5:09 AM Steve Ebersole wrote: > In my opinion we really should not drop them unless we also write a > conversion for the existing I'd values in the database to account for the > new scheme the user picks. It's really just left there to

Re: [hibernate-dev] hibernate.id.optimizer.pooled.preferred=hilo or legacy-hilo

2019-08-28 Thread Steve Ebersole
In my opinion we really should not drop them unless we also write a conversion for the existing I'd values in the database to account for the new scheme the user picks. It's really just left there to allow these legacy databases keep working On Wed, Aug 28, 2019 at 7:09 AM Steve Ebersole wrote:

Re: [hibernate-dev] Entity implementation of equals()

2019-08-28 Thread Steve Ebersole
There are 2 different discussions here: 1) How to implement `#equals` to account for HibernateProxy 2) How to implement `#equals` in a MappedSuperclass These things are at odds here. With regards to (1), as discussed above, you have to allow subclasses in the equality comparison *if* you want