Apache OpenJPA
Go to file
Romain Manni-Bucau aabbc255e7
Merge pull request #76 from eolivelli/OPENJPA-2836-herddb-dict-enhance
OPENJPA-2836 HerdDBDictionary: enable ForeignKeys and Unique Indexes
2020-10-29 22:45:14 +01:00
.github/workflows use 'install' goal 2020-07-17 23:02:34 +02:00
openjpa [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
openjpa-all [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
openjpa-examples remove bookstore from our official samples list for now. 2020-09-05 16:25:29 +02:00
openjpa-features OPENJPA-2835 update to xbean-asm9 for Java16 support 2020-10-20 13:47:33 +02:00
openjpa-integration [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
openjpa-jdbc fix checkstyle 2020-10-28 11:09:58 +01:00
openjpa-jest [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
openjpa-junit5 [OPENJPA-2833] asm 9 2020-09-29 16:57:20 +02:00
openjpa-kernel [OPENJPA-2834] ensure getProperties does not fail with xmlstore 2020-09-30 15:34:44 +02:00
openjpa-kubernetes [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
openjpa-lib Merge pull request #71 from eolivelli/fix/OPENJPA-2820-delim 2020-09-30 12:24:21 +02:00
openjpa-persistence [OPENJPA-2834] invalid properties cache when a propery changes 2020-10-27 15:43:24 +01:00
openjpa-persistence-jdbc [OPENJPA-2831] import [collections4] used classes and drop the dependency 2020-09-16 12:17:13 +02:00
openjpa-persistence-locking [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
openjpa-project OPENJPA-2835 update to xbean-asm9 for Java16 support 2020-10-20 13:47:33 +02:00
openjpa-slice [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
openjpa-tools re-activate reporting section 2020-10-20 13:47:32 +02:00
openjpa-xmlstore [maven-release-plugin] prepare for next development iteration 2020-07-07 11:19:15 +02:00
scripts OPENJPA-2747 upgrade to jpa-2.2 api 2019-03-27 12:29:57 +01:00
src OPENJPA-2753 add a profile for Oracle as Docker image 2019-01-06 23:43:41 +01:00
.gitignore add all logs to ignore 2020-09-06 13:37:58 +02:00
LICENSE [OPENJPA-2781] persistence_2_1.xsd is bundled for offline processing 2019-03-24 20:32:47 +07:00
NOTICE upgrade license year to - 2015 2015-04-03 19:38:01 +00:00
README.adoc Update README.adoc (#73) 2020-09-16 10:32:40 +02:00
patchoj.py [OPENJPA-2751] trailing white-spaces were removed 2018-10-02 12:32:32 +00:00
pom.xml [OPENJPA-2833] asm 9 2020-09-29 16:57:20 +02:00

README.adoc

= Apache OpenJPA - README

== Preface
Thank you for downloading this release of Apache OpenJPA.

Apache OpenJPA is an implementation of the Java Persistence API specification.


== License
The content of this repository is licensed under Apache License 2.0
http://www.apache.org/licenses/LICENSE-2.0

== Further Information

The following files can be found in the openjpa-project subdirectory:

* openjpa-project/BUILDING.txt
* openjpa-project/CHANGES.txt
* openjpa-project/RELEASE-NOTES.html

For documentation and project information, please visit our project site:
    http://openjpa.apache.org/


== Compiling

The best way to compile Apache OpenJPA yourself is to run the build against the default derby database.

 $> mvn clean install -Dsurefire.excludes.locking=**/*

== Testing against different Databases

The Apache OpenJPA project also contains a setup for testing against multiple databases.
The easiest way is to use Docker.
We assume that Docker is installed to be used by your current user.
The respective database image has to be started manually before starting the build.
The reason for not starting it as part of the build itself is to be able to look at the database content after the build did run.

To start e.g. a PostgreSQL Docker image you can simply invoke the following command.
Note the -N Maven option which stands for 'non-recursive'.
This is used because the docker container is configured only at the root project but not at his children.

 mvn -N -Ptest-mysql-docker docker:start

After that, you can execute your tests with the respective Maven profile

 mvn clean install -Ptest-mysql-docker

Once the Docker image for the database is not needed any longer one can stop and remove it:

 mvn -N -Ptest-mysql-docker docker:stop
 mvn -N -Ptest-mysql-docker docker:remove


The following Maven profiles do exist so far:

* test-mysql-docker
* test-mariadb-docker
* test-postgresql-docker