-
Notifications
You must be signed in to change notification settings - Fork 26
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
JDBC driver properties can't be modified #48
Comments
Trying to configure jdbc drivers caused a lot of problems before. All of Trying to change the properties will cause endless refreshes. The modify In short, if you need to change anything with jdbc drivers, remove them Thanks. On Sun, Jun 7, 2015 at 8:15 AM, fuero [email protected] wrote:
|
I got the idea about removing and re-adding the drivers (hence the comparison to system-properties), but in this case this approach wouldn't work if I'm not mistaken. The attributes in the resulting tree do not match the attributes supplied to the jdbc-driver:add() statement, so the computed differences would cause it to remove/re-add this over and over again. I think it's not that big of a deal with most properties of jdbc-driver, save for module-slot. |
The delta is computed using the input configuration file and the current We might need to :reload after removing jdbc driver. It complains that On Mon, Jun 8, 2015 at 12:15 AM, fuero [email protected] wrote:
|
Hi,
I'm trying to get rid of these messages:
The file creating the datasource looks like this:
I've tried adding a rule to jdbc-driver allowing the attributes to be modified, but it doesn't behave as expected, because the attributes are readonly.
Furthermore it seems that
driver-module-name
needs to be used differently than when creating the driver (com.oracle.ojdbc6
vs.com.oracle.ojdbc6:main
),so treating it like system-properties would just cause endless restarts again, right?
The text was updated successfully, but these errors were encountered: