[hibernate-dev] envers + classic QueryTranslator failing test

2015-09-17 Thread andrea boriero
I'm working on https://hibernate.atlassian.net/browse/HHH-9996 and I stumbled across the following test: org.hibernate.envers.test.integration.basic.ClassicQueryTranslatorFactoryTest I run the test not only with Derby but also with PostgreSQL and the test fails for both. The query: select e__ fr

Re: [hibernate-dev] envers + classic QueryTranslator failing test

2015-09-17 Thread Steve Ebersole
This test was originally added for https://hibernate.atlassian.net/browse/HHH-8497 I guess my first thought is to question is why this test exists at all. It's really a question of whether we consider the classic HQL translator "supported". Stuff like this "parameter expected type" was developed

Re: [hibernate-dev] envers + classic QueryTranslator failing test

2015-09-17 Thread andrea boriero
the failing test is testHistoryOfId1, and the query is executed inside the assert method by getAuditReader().find( IntTestEntity.class, id1, 1 ) notice that if you run directly the org.hibernate.envers.test.integration.basic.Simple class that org.hibernate.envers.test.integration.basic. ClassicQue

Re: [hibernate-dev] envers + classic QueryTranslator failing test

2015-09-17 Thread Steve Ebersole
Yes, but the more important point to me is whether the problem here really is the classic translator or envers. Just look at the API call you posted: getAuditReader().find( IntTestEntity.class, id1, 1 ) Why should that be dependent on the HQL translator used? Since envers creates the HQL it see

[hibernate-dev] A few questions about Search 5.5.0

2015-09-17 Thread Guillaume Smet
Hi, I upgraded our framework to 5.5.0 and I have a few questions about it. == First, I had to remove the existing indexes otherwise I had exceptions about version of the index. Is this expected? As far as I remember, it's been a long time since we had to remove the indexes after an upgrade. Caus