public static enum Constant.JdbcProperty extends java.lang.Enum<Constant.JdbcProperty>
| 枚举常量和说明 |
|---|
C3P0_IDLECONNECTIONTESTPERIOD
c3p0 property
|
C3P0_MAXIDLETIME
c3p0 property
|
C3P0_MAXPOOLSIZE
c3p0 property
|
C3P0_MINPOOLSIZE
c3p0 property
|
DATASOURCE
data source type, c3p0 supported only now
|
DEBUG
debug status
|
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 |
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 DEBUG
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 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 final java.lang.String key
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 - 如果该枚举类型没有带有指定名称的常量,
则抛出 IllegalArgumentExceptionjava.lang.NullPointerException - 如果参数为空值, 则抛出 NullPointerExceptionpublic java.lang.String withPrefix(java.lang.String prefix)
key with prefixpublic static final Constant.JdbcProperty fromKey(java.lang.String key)
Constant.JdbcProperty instance if key field equal the argument key,
otherwise return nullCopyright © 2019. All Rights Reserved.