[hibernate-dev] Hibernate 4 Multi-tenancy Issue - No Entity Persisters Found

2015-07-01 Thread amit shah
Hello, I have been trying to integrate hibernate 4 multi-tenancy support in our application but I get the below exception on executing an hql query java.lang.ArrayIndexOutOfBoundsException: 0 at org.hibernate.jpa.spi.AbstractEntityManagerImpl.resultClassChecking(AbstractEntityManagerImpl.jav

[hibernate-dev] Problems running matrix tests

2015-07-01 Thread Karel Maesen
I’v tried to run my matrix tests for hibernate-spatial and I’m running into some problems. First problem is that setting JAVA6_HOME on OS X didn't work because Gradle apparently can’t find the runtime jar (the Home layout of JDK 1.6 on Mac seems to be non-standard). I worked around that by poi

Re: [hibernate-dev] Problems running matrix tests

2015-07-01 Thread Martin Simka
Hi, testReportDir and testResultsDir were removed in Gradle 2.0, check HHH-9884 for details [1] https://hibernate.atlassian.net/browse/HHH-9884 BR, Martin - Original Message - > From: "Karel Maesen" > To: hibernate-dev@lists.jboss.org > Sent: Wednesday, 1 July, 2015 11:57:34 AM > Su

[hibernate-dev] OGM embedded collection handling

2015-07-01 Thread Jonathan Halliday
So I'm tinkering with the cassandra OGM backend, looking particularly at @ElementCollection since cassandra has native collection types, use of which would sidestep the current limitations on List's bag semantics at the same time as improving performance. The ORM core we sit on assumes that su

Re: [hibernate-dev] Hibernate 4 Multi-tenancy Issue - No Entity Persisters Found

2015-07-01 Thread Jitu
As per the exception. it looks like hibernate is not not able to find querytranslator which means hibernate is not able to translate HQL query to SQL query. So increase log level to TRACE and provide more logs. On Wed, Jul 1, 2015 at 1:08 PM, amit shah wrote: > Hello, > > I have been trying to

Re: [hibernate-dev] Hibernate 4 Multi-tenancy Issue - No Entity Persisters Found

2015-07-01 Thread Jitu
I have tried hibernate 4 multi-tenancy with Spring. Please check if this helps you in anyway https://github.com/abjitu/multitenancy On Wed, Jul 1, 2015 at 10:35 PM, Jitu wrote: > As per the exception. it looks like hibernate is not not able to find > querytranslator which means hibernate is not