Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

cdouillard
Copy link
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 as a code owner June 20, 2024 22:38
@eddumelendez
Copy link
Member

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

@eddumelendez
Copy link
Member

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

@cdouillard
Copy link
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
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
98 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution, @cdouillard !

lizhou1111 pushed a commit to lizhou1111/testcontainers-java that referenced this pull request Jul 13, 2024
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