Skip to content

Supporting connection using wallet #93

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

s-ourabh
Copy link
Member

Added code to support Wallet use with okafka.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jun 17, 2025
@s-ourabh s-ourabh requested a review from ichokshi2109 June 24, 2025 15:20
throw (ConnectionException) e;
if (e instanceof ConnectionException) { // from Admin
Throwable t = e.getCause();
if(t instanceof ConnectException) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can getCause returns null ?
What if t is not ConnectException ? Is it possible?

Copy link
Member Author

@s-ourabh s-ourabh Jun 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

->As of our current code getCause will always return something, but in case of null, that condition will return false, no error will be thrown.
-> Yes cause can be of Connect exception or any other regular SQLException.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants