-
Notifications
You must be signed in to change notification settings - Fork 566
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
Upgrades Oracle database libraries to version 21.9.0.0. Adds tests under datasource-ucp CDI integration. #8221
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about the other areas that ojdbc8-production
is used?
./integrations/db/ojdbc/pom.xml: <artifactId>ojdbc8-production</artifactId>
./examples/employee-app/pom.xml: <artifactId>ojdbc8-production</artifactId>
./examples/integrations/oci/atp/pom.xml: <artifactId>ojdbc8-production</artifactId>
./examples/integrations/oci/atp-cdi/pom.xml: <artifactId>ojdbc8-production</artifactId>
./examples/integrations/cdi/datasource-hikaricp/pom.xml: <artifactId>ojdbc8-production</artifactId>
./messaging/connectors/aq/pom.xml: <artifactId>ojdbc8-production</artifactId>
Sure, I'll take care of those. |
ed675c7
to
5ec685b
Compare
…er datasource-ucp CDI integration. Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
…base Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
5ec685b
to
ed0fba3
Compare
@@ -127,7 +127,8 @@ | |||
<version.lib.neo4j>5.12.0</version.lib.neo4j> | |||
<version.lib.netty>4.1.100.Final</version.lib.netty> | |||
<version.lib.oci>3.34.0</version.lib.oci> | |||
<version.lib.ojdbc8>21.4.0.0</version.lib.ojdbc8> | |||
<version.lib.ojdbc>21.9.0.0</version.lib.ojdbc> | |||
<version.lib.ojdbc8>${version.lib.ojdbc}</version.lib.ojdbc8> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we keeping this property for backward compatibility or should we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My assumption has always been that if there is a property defined in a pom.xml
somewhere that appears in the inheritance chain of, say, applications/mp/pom.xml
, which this one does, then it probably should obey the rules of semantic versioning, so should stick around, in this case, until Helidon 5. Maybe others have opinions.
Hmm; might also need to decipher https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html |
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
Hmm; UCP is dying:
|
…s the highest version that can be used that does not throw NullPointerExceptions in certain cases; adds test to catch this problem Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
The A workaround, should it become necessary, is to invoke the |
Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
…der datasource-ucp CDI integration. (helidon-io#8221) Upgrades Oracle database libraries to version 21.9.0.0. Adds test under datasource-ucp CDI integration. Signed-off-by: Laird Nelson <laird.nelson@oracle.com>
This PR updates the Oracle database library versions to 21.9.0.0.
Versions of the Universal Connection Pool higher than this can throw
NullPointerException
s if a non-Oracle driver is used (such as H2's). One of the tests this PR adds checks for this problem explicitly to catch it early should an accidental upgrade beyond 21.9.0.0 occur in the future.This PR also ensures that we are using the
ojdbc11
family of artifacts, at least in thedatasource-ucp
CDI integration, which are the ones that should be used with JDK 11+ (or 21, which is the base of Helidon 4). See https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html for more information.It also adds a test resulting from a very lengthy internal discussion that shows that the Universal Connection Pool does not do anything to reset any underlying connection state when a borrowed connection is checked out, modified, and returned to the pool. This is useful information going forward and we want this test to fail/alert us if UCP addresses this shortcoming in any way.