We know it can be hard to find the right help sometimes and search engines
can be overwhelming, so we will try to put the most commonly asked for
topics with some overview and links to more in-depth resources here for you
to checkout, before wasting your time searching through our Documentation
and Mailing Lists for help.
OpenJPA provides some simple examples as part of the binary distribution on
the Downloads page. The following Samples
page provides quick start instructions on how to build and run these
samples, along with pointers to other JPA samples from the Apache Geronimo
The JPA spec requires some type of monitoring of Entity objects, but the
spec does not define how to implement this monitoring. Some JPA providers
dynamically generate new subclasses or proxy objects that front the user's Entity
objects, while others use byte-code weaving technologies to
enhance the actual Entity class objects. OpenJPA supports
methods, but strongly suggests using the byte-code weaving enhancement.
The following Entity Enhancement
page includes more details on both enhancement types, along with examples
on how to setup build time enhancement in ANT, Maven and Eclipse
OpenJPA provides several design-time and runtime tools, to perform such
tasks as entity enhancement, schema mapping, generating metamodel classes
and to help migrate from other JPA providers.
Please checkout the Tools page for more details.
If you want to dive into the rabbit-hole (Hey, It's open source!), then
checkout the Found a Bug
page, which covers everything from posting questions to our mailing lists,
to getting the source code and building it, and creating bug patches....