类 MySQLConfig
- java.lang.Object
-
- com.xwl41.common.basic.helper.db.conf.DbConfig
-
- com.xwl41.common.basic.helper.db.conf.MySQLConfig
-
public class MySQLConfig extends DbConfig
-
-
构造器概要
构造器 构造器 说明 MySQLConfig()MySQLConfig(String host, Integer port, String username, String password, String dbName)MySQLConfig(String host, String username, String password, String dbName)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected StringbuildUrl(boolean withDbName)BooleangetAllowMultiQueries()BooleangetAllowPublicKeyRetrieval()StringgetServerTimezone()BooleangetUseSSL()BooleangetUseUnicode()MySQLConfigsetAllowMultiQueries(Boolean allowMultiQueries)MySQLConfigsetAllowPublicKeyRetrieval(Boolean allowPublicKeyRetrieval)MySQLConfigsetServerTimezone(String serverTimezone)MySQLConfigsetUseSSL(Boolean useSSL)MySQLConfigsetUseUnicode(Boolean useUnicode)-
从类继承的方法 com.xwl41.common.basic.helper.db.conf.DbConfig
getCharsets, getDbName, getDbType, getHost, getPassword, getPort, getUrl, getUrlSuffix, getUrlTemplate, getUsername, setCharsets, setDbName, setDbType, setHost, setPassword, setPort, setUrl, setUrlSuffix, setUrlTemplate, setUsername
-
-
-
-
方法详细资料
-
getAllowMultiQueries
public Boolean getAllowMultiQueries()
-
setAllowMultiQueries
public MySQLConfig setAllowMultiQueries(Boolean allowMultiQueries)
-
getUseSSL
public Boolean getUseSSL()
-
setUseSSL
public MySQLConfig setUseSSL(Boolean useSSL)
-
getUseUnicode
public Boolean getUseUnicode()
-
setUseUnicode
public MySQLConfig setUseUnicode(Boolean useUnicode)
-
getAllowPublicKeyRetrieval
public Boolean getAllowPublicKeyRetrieval()
-
setAllowPublicKeyRetrieval
public MySQLConfig setAllowPublicKeyRetrieval(Boolean allowPublicKeyRetrieval)
-
getServerTimezone
public String getServerTimezone()
-
setServerTimezone
public MySQLConfig setServerTimezone(String serverTimezone)
-
-