public static enum Constant.JdbcProperty extends java.lang.Enum<Constant.JdbcProperty>
| 枚举常量和说明 |
|---|
ALIAS
alias name of connection
|
C3P0_IDLECONNECTIONTESTPERIOD
c3p0 property
|
C3P0_MAXIDLETIME
c3p0 property
|
C3P0_MAXPOOLSIZE
c3p0 property
|
C3P0_MINPOOLSIZE
c3p0 property
|
DATASOURCE
data source type, C3P0,SQLITE supported only now
|
DEBUG
debug status
|
FIRE_TYPE
type of fire listener source:LOCAL,ROW_OBSERVER,default:LOCAL OR null
|
GENERATEDKEY_RETRIEVE
Retrieval type of auto generated key:auto,before,after
|
GENERATEDKEY_STATEMENT
Retrieval statement of auto generated key
|
JDBC_DRIVER
JDBC driver class name
|
JDBC_PASSWORD
JDBC password
|
JDBC_URL
JDBC connection url
|
JDBC_USERNAME
JDBC user name
|
| 限定符和类型 | 字段和说明 |
|---|---|
java.lang.String |
key
JDBC property name
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Constant.JdbcProperty |
fromKey(java.lang.String key)
cast
key to Constant.JdbcProperty instance if key field equal the argument key,
otherwise return null |
static Constant.JdbcProperty |
fromKey(java.lang.String key,
java.lang.String prefix)
cast
key to Constant.JdbcProperty instance if key field equal the argument key,
otherwise return null be equivalent to fromKey(String) if prefix be null |
boolean |
isGlobal()
return true if global property
|
static Constant.JdbcProperty |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Constant.JdbcProperty[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
java.lang.String |
withPrefix(java.lang.String prefix)
return
key with prefix |
public static final Constant.JdbcProperty ALIAS
public static final Constant.JdbcProperty DEBUG
public static final Constant.JdbcProperty FIRE_TYPE
public static final Constant.JdbcProperty JDBC_DRIVER
public static final Constant.JdbcProperty JDBC_URL
public static final Constant.JdbcProperty JDBC_USERNAME
public static final Constant.JdbcProperty JDBC_PASSWORD
public static final Constant.JdbcProperty GENERATEDKEY_RETRIEVE
public static final Constant.JdbcProperty GENERATEDKEY_STATEMENT
public static final Constant.JdbcProperty DATASOURCE
public static final Constant.JdbcProperty C3P0_MINPOOLSIZE
public static final Constant.JdbcProperty C3P0_MAXPOOLSIZE
public static final Constant.JdbcProperty C3P0_MAXIDLETIME
public static final Constant.JdbcProperty C3P0_IDLECONNECTIONTESTPERIOD
public static Constant.JdbcProperty[] values()
for (Constant.JdbcProperty c : Constant.JdbcProperty.values()) System.out.println(c);
public static Constant.JdbcProperty valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public java.lang.String withPrefix(java.lang.String prefix)
key with prefixpublic boolean isGlobal()
public static final Constant.JdbcProperty fromKey(java.lang.String key)
key to Constant.JdbcProperty instance if key field equal the argument key,
otherwise return nullkey - JDBC property namepublic static final Constant.JdbcProperty fromKey(java.lang.String key, java.lang.String prefix)
key to Constant.JdbcProperty instance if key field equal the argument key,
otherwise return null fromKey(String) if prefix be nullkey - JDBC property nameprefix - the prefix of key,that will be stripedCopyright © 2025. All Rights Reserved.