skip to main content
JDBC support : Supported Functionality : DataSource
  

Try DataDirect Drivers Now

DataSource

The DataSource interface implements the javax.naming.Referenceable and java.io.Serializable interfaces.
DataSource Methods
Version Introduced
Supported
Comments
Connection getConnection()
2.0 Optional
Yes
 
Connection getConnection(String, String)
2.0 Optional
Yes
 
int getLoginTimeout()
2.0 Optional
Yes
 
PrintWriter getLogWriter()
2.0 Optional
Yes
 
boolean isWrapperFor(Class<?> iface)
4.0
Yes
void setLoginTimeout(int)
2.0 Optional
Yes
 
void setLogWriter(PrintWriter)
2.0 Optional
Yes
Enables DataDirect Spy, which traces JDBC information into the specified PrintWriter.
<T> T unwrap(Class<T> iface)
4.0
Yes