Skip to content

Commit 682b2c8

Browse files
committed
updates
1 parent a8bcb96 commit 682b2c8

File tree

10 files changed

+15
-19
lines changed

10 files changed

+15
-19
lines changed

pom.xml

+3-9
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<dependency>
5757
<groupId>com.oracle.database.jdbc</groupId>
5858
<artifactId>ojdbc-bom</artifactId>
59-
<version>21.10.0.0</version>
59+
<version>23.2.0.0</version>
6060
<type>pom</type>
6161
<scope>import</scope>
6262
</dependency>
@@ -149,14 +149,8 @@
149149
<dependency>
150150
<groupId>org.mockito</groupId>
151151
<artifactId>mockito-core</artifactId>
152-
<version>5.4.0</version>
152+
<version>5.5.0</version>
153153
<scope>test</scope>
154-
<exclusions>
155-
<exclusion>
156-
<groupId>net.bytebuddy</groupId>
157-
<artifactId>byte-buddy-agent</artifactId>
158-
</exclusion>
159-
</exclusions>
160154
</dependency>
161155
<dependency>
162156
<groupId>org.postgresql</groupId>
@@ -184,7 +178,7 @@
184178
<dependency>
185179
<groupId>org.mariadb.jdbc</groupId>
186180
<artifactId>mariadb-java-client</artifactId>
187-
<version>3.1.4</version>
181+
<version>3.2.0</version>
188182
<scope>test</scope>
189183
</dependency>
190184
<dependency>

src/test/java/com/github/marschall/storedprocedureproxy/configuration/OracleConfiguration.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
import org.springframework.context.annotation.Configuration;
99
import org.springframework.jdbc.datasource.SingleConnectionDataSource;
1010

11+
import oracle.jdbc.OracleConnection;
12+
1113
@Configuration
1214
public class OracleConfiguration {
1315

@@ -16,11 +18,11 @@ public DataSource dataSource() {
1618
oracle.jdbc.OracleDriver.isDebug();
1719
SingleConnectionDataSource dataSource = new SingleConnectionDataSource();
1820
dataSource.setSuppressClose(true);
19-
dataSource.setUrl("jdbc:oracle:thin:@localhost:1521/ORCLPDB1");
21+
dataSource.setUrl("jdbc:oracle:thin:@localhost:1521/FREEPDB1");
2022
dataSource.setUsername("jdbc");
2123
dataSource.setPassword("Cent-Quick-Space-Bath-8");
2224
Properties connectionProperties = new Properties();
23-
connectionProperties.setProperty("oracle.net.disableOob", "true");
25+
connectionProperties.setProperty(OracleConnection.CONNECTION_PROPERTY_THIN_NET_DISABLE_OUT_OF_BAND_BREAK, "true");
2426
dataSource.setConnectionProperties(connectionProperties);
2527
return dataSource;
2628
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
ALTER SESSION SET CONTAINER = ORCLPDB1;
2+
ALTER SESSION SET CONTAINER = FREEPDB1;
33

44
CREATE USER jdbc IDENTIFIED BY "Cent-Quick-Space-Bath-8";

src/test/resources/oracle/02_permissions.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
ALTER SESSION SET CONTAINER = ORCLPDB1;
2+
ALTER SESSION SET CONTAINER = FREEPDB1;
33

44
GRANT CONNECT TO jdbc CONTAINER=CURRENT;
55
GRANT CREATE SESSION TO jdbc CONTAINER=CURRENT;

src/test/resources/run_firebird.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ docker run --name jdbc-firebird \
99
-e 'FIREBIRD_PASSWORD=Cent-Quick-Space-Bath-8' \
1010
-p 3050:3050 \
1111
--mount type=tmpfs,destination=/firebird/data \
12-
-d jacobalberty/firebird:v4.0.0
12+
-d jacobalberty/firebird:v4.0.1

src/test/resources/run_mariadb.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ docker run --name jdbc-mariadb \
1010
-p 3307:3306 \
1111
--mount type=tmpfs,destination=/var/lib/mysql \
1212
-v ${DIRECTORY}/mariadb:/docker-entrypoint-initdb.d \
13-
-d mariadb:10.6.5
13+
-d mariadb:11.0.3

src/test/resources/run_mysql.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ docker run --name jdbc-mysql \
1010
-e MYSQL_DATABASE=$USER \
1111
-p 3306:3306 \
1212
--mount type=tmpfs,destination=/var/lib/mysql \
13-
-d mysql:8.0.27 \
13+
-d mysql:8.1.0 \
1414
--log-bin-trust-function-creators=1

src/test/resources/run_oracle.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ docker run --name jdbc-oracle \
77
-p 1521:1521 -p 5500:5500 \
88
--shm-size=1g \
99
-v ${DIRECTORY}/oracle:/docker-entrypoint-initdb.d/setup \
10-
-d oracle/database:19.3.0-se2
10+
-d oracle/database:23.2.0-free

src/test/resources/run_postgres.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ docker run --name jdbc-postgres \
55
-e POSTGRES_USER=$USER \
66
-p 5432:5432 \
77
--mount type=tmpfs,destination=/var/lib/postgresql/data \
8-
-d postgres:14.1-alpine
8+
-d postgres:15.4-alpine

src/test/resources/run_sql_server.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ docker run --name jdbc-sqlserver \
66
-e 'ACCEPT_EULA=Y' \
77
-e 'SA_PASSWORD=Cent-Quick-Space-Bath-8' \
88
-p 1433:1433 \
9-
-d mcr.microsoft.com/mssql/server:2019-latest
9+
-d mcr.microsoft.com/mssql/server:2022-latest

0 commit comments

Comments
 (0)