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

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
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