Skip to content

Commit 9cea268

Browse files
committed
Switch EDB testing to using EDB driver
1 parent 432aac1 commit 9cea268

File tree

6 files changed

+10
-4
lines changed

6 files changed

+10
-4
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ updates:
6969
- "org.hsqldb:hsqldb"
7070
- "org.apache.derby*"
7171
- "org.postgresql:*"
72+
- "com.enterprisedb:*"
7273
- "com.mysql:mysql-connector-j"
7374
- "org.mariadb.jdbc:mariadb-java-client"
7475
- "com.oracle.database.*"

documentation/documentation.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ dependencies {
165165
javadocClasspath jakartaLibs.jsonbApi
166166
javadocClasspath libs.ant
167167
javadocClasspath jdbcLibs.postgresql
168+
javadocClasspath jdbcLibs.edb
168169
javadocClasspath libs.jackson
169170
javadocClasspath gradleApi()
170171
javadocClasspath libs.jacksonXml

hibernate-core/hibernate-core.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dependencies {
4242
compileOnly libs.jackson
4343
compileOnly libs.jacksonXml
4444
compileOnly jdbcLibs.postgresql
45+
compileOnly jdbcLibs.edb
4546

4647
testImplementation project(':hibernate-testing')
4748
testImplementation project(':hibernate-ant')

local-build-plugins/src/main/groovy/local.databases.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,13 @@ ext {
8888
],
8989
edb_ci : [
9090
'db.dialect' : 'org.hibernate.dialect.PostgresPlusDialect',
91-
'jdbc.driver': 'org.postgresql.Driver',
91+
'jdbc.driver': 'com.edb.Driver',
9292
'jdbc.user' : 'hibernate_orm_test',
9393
'jdbc.pass' : 'hibernate_orm_test',
9494
// Disable prepared statement caching due to https://www.postgresql.org/message-id/CAEcMXhmmRd4-%2BNQbnjDT26XNdUoXdmntV9zdr8%3DTu8PL9aVCYg%40mail.gmail.com
95-
'jdbc.url' : 'jdbc:postgresql://' + dbHost + '/hibernate_orm_test?preparedStatementCacheQueries=0&escapeSyntaxCallMode=callIfNoReturn',
96-
'jdbc.datasource' : 'org.postgresql.Driver',
97-
// 'jdbc.datasource' : 'org.postgresql.ds.PGSimpleDataSource',
95+
'jdbc.url' : 'jdbc:edb://' + dbHost + '/hibernate_orm_test?preparedStatementCacheQueries=0&escapeSyntaxCallMode=callIfNoReturn',
96+
'jdbc.datasource' : 'com.edb.Driver',
97+
// 'jdbc.datasource' : 'com.edb.ds.PGSimpleDataSource',
9898
'connection.init_sql' : ''
9999
],
100100
sybase_ci : [

local-build-plugins/src/main/groovy/local.java-module.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ dependencies {
7777
testRuntimeOnly jdbcLibs.derbyTools
7878
testRuntimeOnly jdbcLibs.hsqldb
7979
testRuntimeOnly jdbcLibs.postgresql
80+
testRuntimeOnly jdbcLibs.edb
8081
testRuntimeOnly jdbcLibs.mssql
8182
testRuntimeOnly jdbcLibs.informix
8283
testRuntimeOnly jdbcLibs.cockroachdb

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ dependencyResolutionManagement {
231231
def oracleVersion = version "oracle", "23.8.0.25.04"
232232
def oracleJacksonOsonExtension = version "oracleJacksonOsonExtension", "1.0.4"
233233
def pgsqlVersion = version "pgsql", "42.7.7"
234+
def edbVersion = version "edb", "42.7.3.3"
234235
def gaussdbVersion = version "gaussdb", "506.0.0.b058"
235236
def sybaseVersion = version "sybase", "1.3.1"
236237
def tidbVersion = version "tidb", mysqlVersion
@@ -243,6 +244,7 @@ dependencyResolutionManagement {
243244
library( "derbyTools", "org.apache.derby", "derbytools" ).versionRef( derbyVersion )
244245
library( "postgresql", "org.postgresql", "postgresql" ).versionRef( pgsqlVersion )
245246
library( "cockroachdb", "org.postgresql", "postgresql" ).versionRef( pgsqlVersion )
247+
library( "edb", "com.enterprisedb", "edb-jdbc" ).versionRef( edbVersion )
246248
library( "gaussdb", "com.huaweicloud.gaussdb", "gaussdbjdbc" ).versionRef( gaussdbVersion )
247249
library( "mysql", "com.mysql", "mysql-connector-j" ).versionRef( mysqlVersion )
248250
library( "tidb", "com.mysql", "mysql-connector-j" ).versionRef( tidbVersion )

0 commit comments

Comments
 (0)