public class SQLiteConnectionPoolDataSource extends SQLiteDataSource implements ConnectionPoolDataSource
Constructor and Description |
---|
SQLiteConnectionPoolDataSource()
Default constructor.
|
SQLiteConnectionPoolDataSource(SQLiteConfig config)
Creates a data source based on the provided configuration.
|
Modifier and Type | Method and Description |
---|---|
PooledConnection |
getPooledConnection() |
PooledConnection |
getPooledConnection(String user,
String password) |
getConfig, getConnection, getConnection, getDatabaseName, getLoginTimeout, getLogWriter, getParentLogger, getUrl, isWrapperFor, setCacheSize, setCaseSensitiveLike, setConfig, setCountChanges, setDatabaseName, setDefaultCacheSize, setEncoding, setEnforceForeignKeys, setFullColumnNames, setFullSync, setIncrementalVacuum, setJournalMode, setJournalSizeLimit, setLegacyFileFormat, setLoadExtension, setLockingMode, setLoginTimeout, setLogWriter, setMaxPageCount, setPageSize, setReadOnly, setReadUncommited, setRecursiveTriggers, setReverseUnorderedSelects, setSharedCache, setShortColumnNames, setSynchronous, setTempStore, setTempStoreDirectory, setTransactionMode, setUrl, setUserVersion, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
public SQLiteConnectionPoolDataSource()
public SQLiteConnectionPoolDataSource(SQLiteConfig config)
config
- The configuration for the data source.public PooledConnection getPooledConnection() throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
ConnectionPoolDataSource.getPooledConnection()
public PooledConnection getPooledConnection(String user, String password) throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
ConnectionPoolDataSource.getPooledConnection(java.lang.String, java.lang.String)
Copyright © 2016. All rights reserved.