🛠️ Code cleanup & added many new features #1

Merged
gnmyt merged 121 commits from features/code-cleanup into master 2021-09-02 13:34:00 +00:00
Showing only changes of commit 97431c7c1f - Show all commits

View File

@ -1,34 +0,0 @@
package de.gnmyt.sqltoolkit.types;
public enum LoginParam {
DEFAULT("useSSL=false&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&useTimezone=true&serverTimezone=UTC"),
NO_SSL("useSSL=false"),
USE_SSL("useSSL=true"),
AUTO_RECONNECT("autoReconnect=true"),
UTF8_ENCODING("characterEncoding=UTF-8"),
USE_UNICODE("useUnicode=yes"),
USE_TIMEZONE("useTimezone=true"),
TIMEZONE_UTC("serverTimezone=UTC");
private final String value;
/**
* Basic constructor for the LoginParam enum
*
* @param value JDBC parameter
*/
LoginParam(String value) {
this.value = value;
}
/**
* Get the JDBC value
*
* @return the value
*/
public String getValue() {
return this.value;
}
}