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

pass custom factory in copy constructor #233

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JMConnect
Copy link
Contributor

This is the patch I referenced here: #200 (comment)

Our code uses connections/pooling based on AS400 objects and not properties. Ultimately it goes through AS400JDBCDataSource.getConnection, which uses a copy of the AS400 object for the connection. The AS400 copy constructor in turn uses the SSLOptions copy constructor. This just adds the new property to the copy constructor with the others, which then carries through and custom SSL properties work for SQL connections.

@ThePrez
Copy link
Member

ThePrez commented Jan 30, 2025

Thanks, @JMConnect ! Code looks pretty safe. Will aim to get it merged soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants