Package liquibase.util
Class UrlUtil
java.lang.Object
liquibase.util.UrlUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
handleSqlServerDbUrlParameters
(List<String> keys, String url) Move the specified keys up in the connection url for better readability and remove additional parameters.
-
Constructor Details
-
UrlUtil
public UrlUtil()
-
-
Method Details
-
handleSqlServerDbUrlParameters
Move the specified keys up in the connection url for better readability and remove additional parameters. As far as I can tell this is sql server specific right now.- Parameters:
keys
- the important keys to keep at the start of the connection urlurl
- the url to modify- Returns:
- a new connection url with the connection parameters matching the keys provided moved forward, sorted alphabetically and with all other parameters REMOVED.
-