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

Enhanced JDBC driver manager with configuration based on new JVM parameters (#1832) #1833

Conversation

speckyspooky
Copy link
Contributor

No description provided.

@speckyspooky speckyspooky added the Enhancement Small change to improve the current supported functionality label Aug 4, 2024
@speckyspooky speckyspooky added this to the 4.17 milestone Aug 4, 2024
@speckyspooky speckyspooky self-assigned this Aug 4, 2024
@speckyspooky speckyspooky requested a review from merks August 4, 2024 18:05
private static final String EMPTY_STRING = ""; //$NON-NLS-1$

private boolean isDriverPropertyValidationEnabled = true;

private String excludedDriverForValidation;
Copy link
Contributor

Choose a reason for hiding this comment

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

The property name "...excluded.drivers" suggests multiple exclusions are support. This field suggest a single one is specified. Later it just does a contains test on the String, so the separator doesn't matter. If you were to write some documentation somewhere how to use system property to exclude multiple drivers from validation, how would you describe the syntax for it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I will create a documentation of it with a README.MD.
Yes, the delimitor is independend because the class name will be checked with "contain()" but I recommand ","-comma.

@speckyspooky speckyspooky force-pushed the enhance_jdbc_manager_validation_configurable branch from 7777e4e to 2b0806a Compare August 4, 2024 18:54
@speckyspooky speckyspooky requested a review from merks August 4, 2024 18:55
Copy link
Contributor

@merks merks left a comment

Choose a reason for hiding this comment

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

Nicer.

@merks merks merged commit 1a304ce into eclipse-birt:master Aug 4, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Small change to improve the current supported functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants