All test cases only read from database. No writing functionality included.
name | description |
---|---|
jdbc.driver.version |
version of the target driver artifact. |
jdbc.driver |
driver class name |
jdbc.url |
JDBC url of the target database |
jdbc.user |
username of the database |
jdbc.password |
password of the database |
xmpp.domain |
XMPP domain name |
name | description |
---|---|
mysql |
mysql:mysql-connector-java:${jdbc.driver.version} |
$ mvn -Pjpa,<provider>,<database> \
-Dpersistence.provider.version=... \
-Djdbc.driver.version= ...\
-Djdbc.driver=...\
-Djdbc.user=...\
-Djdbc.password=....
clean
test
name | description |
---|---|
persistence.provider.version |
version of the target persistence provider artifact |
name | artifact |
---|---|
eclipselink |
org.eclipse.persistence:eclipselink:${persistence.provider.version} |
hibernate |
org.hibernate:hibernate-core:${persistence.provider.version} |
$ mvn -Pjpa,eclipselink,mysql \
-Dpersistence.provider.version=2.7.0 \
-Djdbc.driver.version=5.1.44 \
-Djdbc.driver=com.mysql.jdbc.Driver \
-Djdbc.url="jdbc:mysql://xxx.xxx.xxx.xxx:3306/yyy" \
-Djdbc.user=some \
-Djdbc.password = some \
clean
test