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

Enhancement, JDBC driver manager - configuration of the property validation #1832

Closed
speckyspooky opened this issue Aug 4, 2024 · 2 comments
Assignees
Labels
Enhancement Small change to improve the current supported functionality
Milestone

Comments

@speckyspooky
Copy link
Contributor

For the enhancement of #1825 the JDBC driver manager got a change to validate the supported driver properties (PR #1831, BIRT 4.17).
Through this change the support of the DuckDB driver is possible.

The target of this change is to give BIRT a fallback configuration and a small individual configuration to handle which driver(s) should be validated an which driver(s) should be excluden from the validation.

The reason of it is that the change of the JDBC driver manager is a central change and change the standard behavior.
The second reason is that it could be that the JDBC driver information of the supported properties are not full defined
and with this additional change it can be handled.

The following options will be given as global system environment parameters of the JVM:

  • birt.driver.property.validation.enabled
    o true, property validation is enabled (default)
    o false, property validation is disabled

  • birt.driver.property.validation.excluded.drivers
    o unset, all drivers will be checked
    o is set, the listed drivers will be excluded from the validation
    o value, driver class name, for multiple driver listing a list splitted by comma separated class names can be used

** examples of global JVM parameters:**

  • -Dbirt.driver.property.validation.enabled
    o the validation is disabled

  • -Dbirt.driver.property.validation.excluded.drivers=com.microsoft.sqlserver.jdbc.SQLServerDriver
    o validation is enabled but without the driver of "SQLServerDriver"

  • -Dbirt.driver.property.validation.excluded.drivers=org.duckdb.DuckDBDriver,com.microsoft.sqlserver.jdbc.SQLServerDriver
    o validation is enabled but without the both drivers of "DuckDb" & "SQLServerDriver"

@speckyspooky speckyspooky added this to the 4.17 milestone Aug 4, 2024
@speckyspooky speckyspooky added the Enhancement Small change to improve the current supported functionality label Aug 4, 2024
@speckyspooky speckyspooky self-assigned this Aug 4, 2024
@speckyspooky
Copy link
Contributor Author

The PR #1833 is added for the change.

@speckyspooky
Copy link
Contributor Author

The change is merged to the master branch.

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

No branches or pull requests

1 participant