On 03/02/2016 11:58, Markus Geiß wrote:
Is OpenJPA using meta data from the database to do enhancements?

Not aware of OpenJPA internals - not a dev - but I feel so, here's why we pass an in-memory H2 instance to openjpa-maven-plugin (as you can see).

If so, this may explain it a bit, we are using a meta database for tenant
configuration  without the table layout used by the app, and separate
db instances per tenant for the application related layout.
Subject: Re: Advice needed switching to OpenJPA
To: users@openjpa.apache.org
From: ilgro...@apache.org
Date: Wed, 3 Feb 2016 10:39:05 +0100

On 03/02/2016 10:31, Markus Geiß wrote:
Hey all,

hope this finds you well. ; o)
As part of our incubation (Apache Fineract) we need to replace our current
JPA implementation (Hibernate).

Given that we are now part of the Apache family we'd like to use Apache
project whenever possible.

Right now we are facing issues with the enhancement mechanism and
looking for some advice on how to proceed. None of our entites could be
enhanced, but we are not sure why.

Here are some, maybe, useful information, we use:
- Java 8
- Spring Data JPA
- Hibernate 4.3                         
Hi Markus,
welcome to the Apache Family :-)

At Syncope we had to do the same switch back in 2012, for exactly the
same reason; since then we are still on OpenJPA.

You can take a look at the relevant sections of this POM [1] -
especially the usage of OpenJPA Maven plugin.

HTH
Regards.

[1] https://github.com/apache/syncope/blob/master/core/persistence-jpa/pom.xml

--
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF committer
http://home.apache.org/~ilgrosso/

Reply via email to