Re: [hibernate-dev] [!] Changing how to run tests with proprietary JDBC drivers: Oracle, HANA

2018-08-09 Thread Sanne Grinovero
On Thu, 9 Aug 2018 at 16:00, Steve Ebersole wrote: > > "Maven repository" is any thing we want it to be, even a locally hosted repo > manager into which we can install any dependencies we want - so it is not > available in any "public" repo, but still referrable via normal Gradle means. > Seem

Re: [hibernate-dev] [!] Changing how to run tests with proprietary JDBC drivers: Oracle, HANA

2018-08-09 Thread Steve Ebersole
"Maven repository" is any thing we want it to be, even a locally hosted repo manager into which we can install any dependencies we want - so it is not available in any "public" repo, but still referrable via normal Gradle means. Seems by far easier solution... On Thu, Aug 9, 2018 at 9:42 AM Sann

Re: [hibernate-dev] Reducing the memory usage of HQLQueryPlan

2018-08-09 Thread Steve Ebersole
In 6.0 HQLQueryPlan is replaced by AggregatedSelectQueryPlanImpl[1] (polymorphic queries) and ConcreteSqmSelectQueryPlan[2]. ConcreteSqmSelectQueryPlan holds a reference to the SQM AST; AggregatedSelectQueryPlanImpl hold 2+ ConcreteSqmSelectQueryPlans. AggregatedSelectQueryPlan operates much like

[hibernate-dev] [!] Changing how to run tests with proprietary JDBC drivers: Oracle, HANA

2018-08-09 Thread Sanne Grinovero
I'm setting up some new Oracle integration tests on ci.hibernate.org, and we're having again a similar issue to what we had with SAP HANA: - some JDBC drivers can not be distributed freely - we do not want to allow the Hibernate ORM build to load dependencies from a local Maven repository So I'

[hibernate-dev] Reducing the memory usage of HQLQueryPlan

2018-08-09 Thread Guillaume Smet
Hi, >From what I can see, the HQLQueryPlan objects are rather big, mostly due to the sqlAst element of the QueryTranslators. They can consume a fair amount of memory when you have a lot of HQL queries. We need at least some of the information collected by the AST but I'm wondering if we really n