Re: [hibernate-dev] Enum object bound to SQLQuery

2015-02-16 Thread Gail Badner
OK, so this is expected. Thanks! Gail - Original Message - > From: "Steve Ebersole" > To: "Emmanuel Bernard" > Cc: "Gail Badner" , "Hibernate Dev" > > Sent: Monday, February 16, 2015 11:55:54 AM > Subject: Re: [hibernate-dev] Enum object bound to SQLQuery > > Probably the difference i

Re: [hibernate-dev] Enum object bound to SQLQuery

2015-02-16 Thread Steve Ebersole
Probably the difference is the idea of "auto determination" of a parameter's "expected" Type. In HQL/JPQL and Criteria queries I have a lot of code in place to determine the expected type of a parameter based any "corresponding property reference". In native SQL queries there is no such opportuni

Re: [hibernate-dev] Enum object bound to SQLQuery

2015-02-16 Thread Emmanuel Bernard
Do we do any other conversion in SQLQueries from the property type to the SQL type? I don’t think we do. > On 13 Feb 2015, at 06:15, Gail Badner wrote: > > Should enum objects be converted to the appropriate type when bound to a > native query? > > It looks like they are converted properly wh

Re: [hibernate-dev] CachingWrapperFilter

2015-02-16 Thread Sanne Grinovero
Hi Marc, in theory we apply all the same optimisations as the "Lucene edition", including the "acceptDocs" Bits as described in LUCENE-1536. These are the main differences of our implementation: - uses the SoftLimitMRUCache rather than a synchronized WeakHashMap - uses Soft rather than Weak refe