nee-jdbc / dev.neeffect.nee.effects.jdbc / WrappedDataSource

WrappedDataSource

class WrappedDataSource : DataSource

Constructors

<init>

WrappedDataSource(conn: Connection)

Functions

getConnection

fun getConnection(): Connection
fun getConnection(username: String?, password: String?): Connection

getLoginTimeout

fun getLoginTimeout(): Int

getLogWriter

fun getLogWriter(): PrintWriter

getParentLogger

fun getParentLogger(): Logger

isWrapperFor

fun isWrapperFor(iface: Class<*>?): Boolean

setLoginTimeout

fun setLoginTimeout(seconds: Int): Unit

setLogWriter

fun setLogWriter(out: PrintWriter?): Unit

unwrap

fun <T> unwrap(iface: Class<T>?): T