Skip to content

Commit

Permalink
[Blazebit#209, Blazebit#442] Allow to build with JDK 9. Add initial s…
Browse files Browse the repository at this point in the history
…upport for Hibernate 5.3 and DataNucleus 5.1. Adapt parameter handling in custom sql queries. Fix subview attribute flusher oversight. Documentation update
  • Loading branch information
beikov committed Mar 2, 2018
1 parent b4194e2 commit fa7a62d
Show file tree
Hide file tree
Showing 105 changed files with 9,542 additions and 5,454 deletions.
200 changes: 189 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ cache:
- '$HOME/.m2/repository'
before_install:
- sh -c "if [ '$RDBMS' = 'firebird' ]; then sh travis/before_install_firebird.sh; fi"
- sh -c "if [ '$JDK' = '10' ]; then unset _JAVA_OPTIONS && . ./travis/install_jdk_10.sh; fi"
install:
- sh -c "if [ '$LATEST_MAVEN' = 'true' ]; then sh travis/install_latest_maven.sh; fi"
before_script:
Expand Down Expand Up @@ -56,7 +57,7 @@ matrix:
sudo: true
services:
- docker
- env: JPAPROVIDER=hibernate-5.2 RDBMS=h2 SPRING_DATA=spring-data-2.0.x
- env: JPAPROVIDER=hibernate-5.2 RDBMS=h2 SPRING_DATA=spring-data-2.0.x DELTASPIKE=deltaspike-1.8
jdk: oraclejdk8
# - env: JPAPROVIDER=hibernate-5.2 RDBMS=sqlite
# jdk: oraclejdk8
Expand Down Expand Up @@ -102,7 +103,7 @@ matrix:
# eclipselink
################################################
- env: JPAPROVIDER=eclipselink RDBMS=h2
jdk: openjdk7
jdk: oraclejdk8
# - env: JPAPROVIDER=eclipselink RDBMS=mysql
# dist: trusty
# sudo: required
Expand Down Expand Up @@ -157,6 +158,74 @@ matrix:
# - env: JPAPROVIDER=openjpa RDBMS=firebird
# sudo: true

################################################
# hibernate-5.3
################################################
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=h2
# jdk: oraclejdk8
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=mysql
# jdk: oraclejdk8
# dist: trusty
# sudo: required
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=postgresql
# jdk: oraclejdk8
# addons:
# postgresql: "9.3"
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=mssql
# jdk: oraclejdk8
# sudo: true
# services:
# - docker
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=db2
# jdk: oraclejdk8
# sudo: true
# services:
# - docker
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=oracle
# jdk: oraclejdk8
# sudo: true
# services:
# - docker
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=sqlite
# jdk: oraclejdk8
# - env: JPAPROVIDER=hibernate-5.3 RDBMS=firebird
# jdk: oraclejdk8
# sudo: true

################################################
# datanucleus-5.1
################################################
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=h2
# jdk: oraclejdk8
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=mysql
# jdk: oraclejdk8
# dist: trusty
# sudo: required
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=postgresql
# jdk: oraclejdk8
# addons:
# postgresql: "9.3"
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=mssql
# jdk: oraclejdk8
# sudo: true
# services:
# - docker
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=db2
# jdk: oraclejdk8
# sudo: true
# services:
# - docker
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=oracle
# jdk: oraclejdk8
# sudo: true
# services:
# - docker
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=sqlite
# jdk: oraclejdk8
# - env: JPAPROVIDER=datanucleus-5.1 RDBMS=firebird
# jdk: oraclejdk8
# sudo: true

################################################
# hibernate-5.1
################################################
Expand Down Expand Up @@ -229,13 +298,13 @@ matrix:
# hibernate-4.3
################################################
- env: JPAPROVIDER=hibernate-4.3 RDBMS=h2
jdk: openjdk7
jdk: oraclejdk8
- env: JPAPROVIDER=hibernate-4.3 RDBMS=mysql
jdk: openjdk7
jdk: oraclejdk8
dist: trusty
sudo: required
- env: JPAPROVIDER=hibernate-4.3 RDBMS=postgresql
jdk: openjdk7
jdk: oraclejdk8
addons:
postgresql: "9.3"
- env: JPAPROVIDER=hibernate-4.3 RDBMS=mssql
Expand All @@ -244,7 +313,7 @@ matrix:
services:
- docker
- env: JPAPROVIDER=hibernate-4.3 RDBMS=db2
jdk: openjdk7
jdk: oraclejdk8
sudo: true
services:
- docker
Expand All @@ -262,13 +331,13 @@ matrix:
# hibernate-4.2
################################################
- env: JPAPROVIDER=hibernate RDBMS=h2
jdk: openjdk7
jdk: oraclejdk8
- env: JPAPROVIDER=hibernate RDBMS=mysql
jdk: openjdk7
jdk: oraclejdk8
dist: trusty
sudo: required
- env: JPAPROVIDER=hibernate RDBMS=postgresql
jdk: openjdk7
jdk: oraclejdk8
addons:
postgresql: "9.3"
- env: JPAPROVIDER=hibernate RDBMS=mssql
Expand All @@ -277,7 +346,7 @@ matrix:
services:
- docker
- env: JPAPROVIDER=hibernate RDBMS=db2
jdk: openjdk7
jdk: oraclejdk8
sudo: true
services:
- docker
Expand Down Expand Up @@ -334,15 +403,124 @@ matrix:
################################################
# JDK 9
################################################
# JDK 9 - Not going to work until javassist is fixed
- env: JPAPROVIDER=hibernate-5.2 RDBMS=h2 JDK=10 LATEST_MAVEN=true
- env: JPAPROVIDER=hibernate-5.2 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=datanucleus-5 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=eclipselink RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-5.3 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=datanucleus-5.1 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-5.1 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-5.0 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-4.3 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-4.2 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=datanucleus-4 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
allow_failures:
- env: JPAPROVIDER=hibernate-5.2 RDBMS=h2 JDK=10 LATEST_MAVEN=true
- env: JPAPROVIDER=hibernate-5.2 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=datanucleus-5 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=eclipselink RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-5.3 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=datanucleus-5.1 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-5.1 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-5.0 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-4.3 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=hibernate-4.2 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
- oracle-java9-installer
jdk: oraclejdk9
- env: JPAPROVIDER=datanucleus-4 RDBMS=h2 JDK=9 LATEST_MAVEN=true
addons:
apt:
packages:
Expand Down
Loading

0 comments on commit fa7a62d

Please sign in to comment.