Skip to content

Commit

Permalink
HSEARCH-4556 Upgrade Derby
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Jun 5, 2023
1 parent 235c7cf commit 54c33eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ updates:
update-types: ["version-update:semver-major"]
- dependency-name: "org.jberet:*"
update-types: ["version-update:semver-major"]
# Sticking to Derby 10.14 for now since later versions require JDK 9+, and we need to test with JDK 8.
# Sticking to Derby 10.15 for now since later versions require JDK 17+, and we need to test with JDK 11.
# See https://db.apache.org/derby/derby_downloads.html
- dependency-name: "org.apache.derby:*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@

<!-- >>> JDBC Drivers -->
<version.com.h2database>2.1.214</version.com.h2database>
<!-- Sticking to Derby 10.14 for now since later versions require JDK 9+, and we need to test with JDK 8.
<!-- Sticking to Derby 10.15 for now since later versions require JDK 17+, and we need to test with JDK 11.
See https://db.apache.org/derby/derby_downloads.html -->
<version.org.apache.derby>10.14.2.0</version.org.apache.derby>
<version.org.apache.derby>10.15.2.0</version.org.apache.derby>
<version.org.postgresql>42.5.1</version.org.postgresql>
<version.org.mariadb.jdbc>3.1.0</version.org.mariadb.jdbc>
<version.mysql.mysql-connector-java>8.0.31</version.mysql.mysql-connector-java>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@

# However, we still customize the database location
# (the default uses a "RUNTIMEDB" directory in the current working directory)
JDBC_URL=jdbc:derby:memory:jbatch;create=true
JDBC_URL=jdbc:derby:memory:jbatch;create=true
# Need to explicitly specify the driver class since the default ones points to `org.apache.derby.jdbc.EmbeddedDriver`
# which is not there anymore since Derby 10.15
JDBC_DRIVER=org.apache.derby.iapi.jdbc.AutoloadedDriver

0 comments on commit 54c33eb

Please sign in to comment.