Re: [hibernate-dev] Case Insensitive Comparison for TableNames in Schema Update

2017-07-07 Thread andrea boriero
Hi Ashudeep, The changes are part of a series of changes introduced by https://github.com/dreab8/hibernate-orm/commit/9caca0ce37d5a2763d476c6fa2471addcca710ca Basically the logic related with the identifier case strategy (upper, lower or mixed) to use is managed by https://github.com/hibernate/hi

[hibernate-dev] Replacement for SessionFactoryImplementor#getClassMetadata ?

2017-07-07 Thread Sanne Grinovero
Hi all, Hibernate Search is using this method, but it's deprecated with the following comment: "Use the descriptors from #getMetamodel() instead". I'm a bit lost about how to reach the same by using the Metamodel. I found this solution: SessionFactoryImplementor sfi =.. ClassMetadata cm = (Clas

Re: [hibernate-dev] Replacement for SessionFactoryImplementor#getClassMetadata ?

2017-07-07 Thread andrea boriero
hi Sanne, what about sfi.getMetamodel().entityPersister( x ).getClassMetadata(); ? On 7 July 2017 at 12:55, Sanne Grinovero wrote: > Hi all, > > Hibernate Search is using this method, but it's deprecated with the > following comment: > "Use the descriptors from #getMetamodel() instead". > > I'm

Re: [hibernate-dev] Replacement for SessionFactoryImplementor#getClassMetadata ?

2017-07-07 Thread Sanne Grinovero
On 7 July 2017 at 13:11, andrea boriero wrote: > hi Sanne, > what about sfi.getMetamodel().entityPersister( x ).getClassMetadata(); ? Thanks! I totally missed that one. > > On 7 July 2017 at 12:55, Sanne Grinovero wrote: >> >> Hi all, >> >> Hibernate Search is using this method, but it's deprec

Re: [hibernate-dev] Replacement for SessionFactoryImplementor#getClassMetadata ?

2017-07-07 Thread Steve Ebersole
I'd drop the getClassMetadata part. It just returns itself. I will deprecate that contract and remove it eventually On Fri, Jul 7, 2017, 7:59 AM Sanne Grinovero wrote: > On 7 July 2017 at 13:11, andrea boriero wrote: > > hi Sanne, > > what about sfi.getMetamodel().entityPersister( x ).getClas