- <init>
Create a new SingleConnectionDataSource with a given Connection.
- destroy
Close the underlying Connection. The provider of this DataSource needs to care
for proper shutdown.A
- getConnection
Specifying a custom username and password doesn't make sense with a single
Connection. Returns the s
- setUrl
- closeConnection
Close the underlying shared Connection.
- getAutoCommitValue
Return whether the returned Connection's "autoCommit" setting should be
overridden.
- getCloseSuppressingConnectionProxy
Wrap the given Connection with a proxy that delegates every method call to it
but suppresses close c
- getConnectionFromDriver
- getPassword
- getUrl
- getUsername
- initConnection
Initialize the underlying Connection via the DriverManager.