public class CUBRIDDataSource extends CUBRIDDataSourceBase implements DataSource, Referenceable, Serializable
Modifier | Constructor and Description |
---|---|
|
CUBRIDDataSource() |
protected |
CUBRIDDataSource(Reference ref) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
Connection |
getConnection(String username,
String passwd) |
Logger |
getParentLogger() |
Reference |
getReference() |
boolean |
isWrapperFor(Class<?> iface) |
<T> T |
unwrap(Class<T> iface) |
getDatabaseName, getDataSourceName, getDescription, getLoginTimeout, getLogWriter, getNetworkProtocol, getPassword, getPort, getPortNumber, getProperties, getRoleName, getServerName, getUrl, getURL, getUser, setDatabaseName, setDataSourceName, setDescription, setLoginTimeout, setLogWriter, setNetworkProtocol, setPassword, setPortNumber, setProperties, setRoleName, setServerName, setUrl, setURL, setUser, writeLog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
public CUBRIDDataSource()
protected CUBRIDDataSource(Reference ref)
public Connection getConnection() throws SQLException
getConnection
in interface DataSource
SQLException
public Connection getConnection(String username, String passwd) throws SQLException
getConnection
in interface DataSource
SQLException
public Reference getReference() throws NamingException
getReference
in interface Referenceable
NamingException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
in interface Wrapper
SQLException
public Logger getParentLogger()
getParentLogger
in interface CommonDataSource
Copyright © 2016. All rights reserved.