程序包 gu.sql2java
枚举类 Constant.JdbcProperty
- 所有已实现的接口:
Serializable,Comparable<Constant.JdbcProperty>,Constable
- 封闭接口:
Constant
JDBC property name definition
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明alias name of connectionc3p0 propertyc3p0 propertyc3p0 propertyc3p0 propertydata source type, C3P0,SQLITE supported only nowdebug statustype of fire listener source:LOCAL,ROW_OBSERVER,default:LOCAL OR nullRetrieval type of auto generated key:auto,before,afterRetrieval statement of auto generated keyJDBC driver class nameJDBC passwordJDBC connection urlJDBC user name -
字段概要
字段 -
方法概要
修饰符和类型方法说明static final Constant.JdbcPropertycastkeytoConstant.JdbcPropertyinstance ifkeyfield equal the argumentkey, otherwise returnnullstatic final Constant.JdbcPropertycastkeytoConstant.JdbcPropertyinstance ifkeyfield equal the argumentkey, otherwise returnnull
be equivalent tofromKey(String)ifprefixbenullbooleanisGlobal()return true if global propertystatic Constant.JdbcProperty返回带有指定名称的该类的枚举常量。static Constant.JdbcProperty[]values()返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同withPrefix(String prefix) returnkeywithprefix
-
枚举常量详细资料
-
ALIAS
alias name of connection -
DEBUG
debug status -
FIRE_TYPE
type of fire listener source:LOCAL,ROW_OBSERVER,default:LOCAL OR null -
JDBC_DRIVER
JDBC driver class name -
JDBC_URL
JDBC connection url -
JDBC_USERNAME
JDBC user name -
JDBC_PASSWORD
JDBC password -
GENERATEDKEY_RETRIEVE
Retrieval type of auto generated key:auto,before,after -
GENERATEDKEY_STATEMENT
Retrieval statement of auto generated key -
DATASOURCE
data source type, C3P0,SQLITE supported only now -
C3P0_MINPOOLSIZE
c3p0 property -
C3P0_MAXPOOLSIZE
c3p0 property -
C3P0_MAXIDLETIME
c3p0 property -
C3P0_IDLECONNECTIONTESTPERIOD
c3p0 property
-
-
字段详细资料
-
key
JDBC property name
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类没有带有指定名称的常量NullPointerException- 如果参数为空值
-
withPrefix
returnkeywithprefix -
isGlobal
public boolean isGlobal()return true if global property -
fromKey
castkeytoConstant.JdbcPropertyinstance ifkeyfield equal the argumentkey, otherwise returnnull- 参数:
key- JDBC property name- 返回:
- JdbcProperty
-
fromKey
castkeytoConstant.JdbcPropertyinstance ifkeyfield equal the argumentkey, otherwise returnnull
be equivalent tofromKey(String)ifprefixbenull- 参数:
key- JDBC property nameprefix- the prefix of key,that will be striped- 返回:
- JdbcProperty
-