-
Notifications
You must be signed in to change notification settings - Fork 37
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
Fixing wrong filename in module.xml for datasource oracle #153
Conversation
@zaeh I have no way to test this, and am concerned this could break other people's installs. I think the best approach here is to make that file a template and make the filename a parameter so it can easily be changed. If you need help on how to do that, let me know. |
This is the way I need to do this at the moment, because of the bug. As an alternative you could parameterize the value for the oracle.jar to make this working. |
Right, my suggestion was parameterize the value. The Oracle support was a community contribution and I don't want to break other people's code in case their jar name is somehow different. If you it a parameter that would solve the problem and avoid breaking changes. |
I am looking at the code, are you using |
Just FYI that this change would most definitely break anyone using |
Exactly that ist the problem:
Ok, I will parameterize the name of the jar, but nevertheless the name |
…dule xml to a template if not given by datasource_module_source
…dule xml to a template if not given by datasource_module_source
Done. |
Co-authored-by: treydock <treydock@gmail.com>
@zaeh Looks good. Would you mind adding an example of how you are using Oracle support to README.md? There are already examples for MySQL and PostgreSQL so can just add one example after those. |
@zaeh, this is ready to merge, just needs README update with example of using Oracle similar to examples for MySQL and PostgreSQL. |
Sorry, I was in holidays... Will add it in the next days! :-) |
@zaeh Wanted to check if had a chance to make those README updates for this pull request. |
Sorry, that it took so long! |
…me small corrections
This will be released with v6.21.0 |
The filename of the driver jar for datasource oracle is fixed to "oracle.jar" in class keycloak::datasource::oracle.
This is not working with the fixed filename ojdbc8.jar in module.xml.