public abstract class AbstractDataSourceGenerator extends Object implements DataSourceGenerator
| 限定符和类型 | 字段和说明 |
|---|---|
protected static Configuration |
CONFIG
The constant CONFIG.
|
| 构造器和说明 |
|---|
AbstractDataSourceGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected DBType |
getDBType()
Get db type db type.
|
protected String |
getDriverClassName()
get db driver class name
|
protected static String |
getDriverName(DBType dbType)
Get driver name string.
|
protected int |
getMaxConn()
Get max conn int.
|
protected int |
getMinConn()
Get min conn int.
|
protected String |
getPassword()
Get password string.
|
protected String |
getUrl()
Get url string.
|
protected String |
getUser()
Get user string.
|
protected String |
getValidationQuery(DBType dbType)
Get validation query string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateDataSourceprotected static final Configuration CONFIG
protected DBType getDBType()
protected String getDriverClassName()
protected String getUrl()
protected String getUser()
protected String getPassword()
protected int getMinConn()
protected int getMaxConn()
protected static String getDriverName(DBType dbType)
dbType - the db typeCopyright © 2019 Seata. All rights reserved.