| |
|
| java.util.Properties org.apache.ojb.broker.util.pooling.PoolConfiguration org.apache.ojb.broker.metadata.ConnectionPoolDescriptor
DBCP_PROPERTY_NAME_PREFIX | final public static String DBCP_PROPERTY_NAME_PREFIX(Code) | | String prefix for DBCP properties.
Currently OJB only uses this for setting DBCP parameters for pooling of Statement,
not the max/test-parameters etc for the DBCP Connection pool
(since there is only a JDBC2.0+ version of the Basic-classes ie BasicDataSource
and no DriverManager-based one).
|
FETCH_SIZE | final public static String FETCH_SIZE(Code) | | Configuration attribute name for JDBC fetchSize hint.
|
JDBC_PROPERTY_NAME_PREFIX | final public static String JDBC_PROPERTY_NAME_PREFIX(Code) | | String prefix for JDBC properties passed to DriverManager.
|
dbcpProperties | protected Properties dbcpProperties(Code) | | DBCP Statement cache properties configured in OJB (not used for DataSource connections).
|
jdbcProperties | protected Properties jdbcProperties(Code) | | JDBC properties configured in OJB (not used for DataSource connections).
|
ConnectionPoolDescriptor | public ConnectionPoolDescriptor()(Code) | | |
getConnectionFactory | public Class getConnectionFactory()(Code) | | |
getDbcpProperties | public Properties getDbcpProperties()(Code) | | Returns the DBCP properties to be used for Statement caching
when creating DBCP connection pool in OJB ConnectionFactory.
DBCP properties (might be empty, never null) |
getFetchSize | public int getFetchSize()(Code) | | Returns the fetchSize hint set for this connection pool.
fetchSize hint or 0 if JDBC-driver specific default is used |
getJdbcProperties | public Properties getJdbcProperties()(Code) | | Returns the JDBC properties to be used by the ConnectionFactory
when creating connections from DriverManager.
JDBC-driver specific properties (might be empty, never null) |
setConnectionFactory | public void setConnectionFactory(Class connectionFactory)(Code) | | |
setFetchSize | public void setFetchSize(int fetchSize)(Code) | | Sets the fetchSize hint for this connection pool.
Parameters: fetchSize - fetchSize hint or 0 to use JDBC-driver specific default |
|
|
|