Skip to content

feat: Change the class used by the Oracle database driver#8796

Merged
eddumelendez merged 1 commit into
testcontainers:mainfrom
cdouillard:patch-1
Jun 27, 2024
Merged

feat: Change the class used by the Oracle database driver#8796
eddumelendez merged 1 commit into
testcontainers:mainfrom
cdouillard:patch-1

Conversation

@cdouillard

Copy link
Copy Markdown
Contributor

HikariCP logs a Warning when using the oracle.jdbc.driver.OracleDriver class. The use of the oracle.jdbc.OracleDriver class is now recommended (see https://stackoverflow.com/questions/6202653/difference-between-oracle-jdbc-driver-classes/6202721#6202721).

@cdouillard cdouillard requested a review from a team June 20, 2024 22:38
@eddumelendez

Copy link
Copy Markdown
Member

are both drivers offered in the same jar? I think for compatibility reason we should do something like this

@eddumelendez

Copy link
Copy Markdown
Member

@cdouillard do you mind updating the PR addressing my previous comment?

@cdouillard

Copy link
Copy Markdown
Contributor Author

Yes they are part of the same jar, i look at the following jars :

  • com.oracle.database.jdbc:ojdbc8
  • com.oracle.database.jdbc:ojdbc10
  • com.oracle.database.jdbc:ojdbc11

These three jars are the ones listed by Oracle : https://www.oracle.com/database/technologies/maven-central-guide.html.

@cdouillard

Copy link
Copy Markdown
Contributor Author

@eddumelendez , i just applied your suggestion.

@eddumelendez eddumelendez added this to the next milestone Jun 27, 2024
@eddumelendez eddumelendez merged commit ca4981e into testcontainers:main Jun 27, 2024
@eddumelendez

Copy link
Copy Markdown
Member

Thanks for your contribution, @cdouillard !

lizhou1111 pushed a commit to lizhou1111/testcontainers-java that referenced this pull request Jul 13, 2024
fokion pushed a commit to fokion/testcontainers-java that referenced this pull request Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants