|
New static method Configuration.toConf(String url) addition in order to display configuration from an url string.
Example:
Configuration.toConf("jdbc:mariadb:loadbalance://host1:3305,address=(host=host2)(port=3307)(type=replica)/db?nonExisting&nonExistingWithValue=tt&user=me&password=***&timezone=UTC&autocommit=false&createDatabaseIfNotExist=true&")
|
Will return a String like :
Configuration:
|
* resulting Url : jdbc:mariadb:loadbalance://address=(host=host1)(port=3305)(type=primary),address=(host=host2)(port=3307)(type=replica)/db?user=me&password=***&nonExisting=&nonExistingWithValue=tt&timezone=UTC&autocommit=false&createDatabaseIfNotExist=true
|
Unknown options :
|
* nonExisting :
|
* nonExistingWithValue : tt
|
|
Non default options :
|
* addresses : [address=(host=host1)(port=3305)(type=primary), address=(host=host2)(port=3307)(type=replica)]
|
* autocommit : false
|
* createDatabaseIfNotExist : true
|
* database : db
|
* haMode : LOADBALANCE
|
* password : ***
|
* timezone : UTC
|
* user : me
|
|
default options :
|
* allowLocalInfile : true
|
* allowMultiQueries : false
|
* allowPublicKeyRetrieval : false
|
* ...
|
|