| java.lang.Object com.versant.core.jdbc.conn.ExternalJdbcConnectionSource
ExternalJdbcConnectionSource | public class ExternalJdbcConnectionSource implements JdbcConnectionSource(Code) | | Gets connections from one or more java.sql.DataSource's and/or a
JDBCConnectionPool. If there are 2 DataSource's then the second is used
for highPriority (keygen) connections. If there is only one DataSource
and a pool then the pool is used for highPriority connections. Otherwise
the first DataSource is used.
Connections obtained from the DataSource(s) may optionally have
PreparedStatement pooling enabled for them. Operations on these connections
will also be logged depending on the logging level.
|
closeIdleConnections | public void closeIdleConnections()(Code) | | |
destroy | public void destroy()(Code) | | |
getPsCacheMax | public int getPsCacheMax()(Code) | | |
isClearBatch | public boolean isClearBatch()(Code) | | |
isUsePsPool | public boolean isUsePsPool()(Code) | | |
setClearBatch | public void setClearBatch(boolean clearBatch)(Code) | | Invoke clearBatch on PreparedStatements returned to the pool
if PreparedStatement pooling is enabled.
|
setDriverName | public void setDriverName(String driverName)(Code) | | |
setPsCacheMax | public void setPsCacheMax(int psCacheMax)(Code) | | Limit the number of cached PreparedStatement's per connection to this
if PreparedStatement pooling is enabled.
|
setUsePsPool | public void setUsePsPool(boolean usePsPool)(Code) | | Use PreparedStatement pooling on connections obtained from DataSource's
or not.
|
|
|