org.enhydra.jdbc.instantdb
Class IdbDataSource
java.lang.Object
org.enhydra.jdbc.util.JdbcUtil
org.enhydra.jdbc.core.CoreDataSource
org.enhydra.jdbc.standard.StandardDataSource
org.enhydra.jdbc.instantdb.IdbDataSource
- All Implemented Interfaces:
- java.io.Serializable, java.sql.Wrapper, javax.naming.Referenceable, javax.naming.spi.ObjectFactory, javax.sql.CommonDataSource, javax.sql.DataSource
public class IdbDataSource
- extends StandardDataSource
- implements javax.sql.DataSource
Data source for creating IdbConnections.
- See Also:
- Serialized Form
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil |
log |
Method Summary |
void |
setDriverName(java.lang.String driverName)
set the name of the jdbc driver |
Methods inherited from class org.enhydra.jdbc.standard.StandardDataSource |
equals, getConnection, getConnection, getDriverName, getObjectInstance, getReference, getTransactionIsolation, getUrl, hashCode, setTransactionIsolation, setUrl, toString |
Methods inherited from class org.enhydra.jdbc.core.CoreDataSource |
getDescription, getLoginTimeout, getLogWriter, getPassword, getThreadFactory, getUser, isDebug, isVerbose, setDebug, setDescription, setLoginTimeout, setLogWriter, setPassword, setThreadFactory, setUser, setVerbose, shutdown |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.sql.DataSource |
getConnection, getConnection |
Methods inherited from interface javax.sql.CommonDataSource |
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
Methods inherited from interface java.sql.Wrapper |
isWrapperFor, unwrap |
IdbDataSource
public IdbDataSource()
throws java.sql.SQLException
- Constructors
- Throws:
java.sql.SQLException
IdbDataSource
public IdbDataSource(java.sql.Driver driver)
throws java.sql.SQLException
- Constructors
- Throws:
java.sql.SQLException
setDriverName
public void setDriverName(java.lang.String driverName)
throws java.sql.SQLException
- Description copied from class:
StandardDataSource
- set the name of the jdbc driver
- Overrides:
setDriverName
in class StandardDataSource
- Parameters:
driverName
- the string representation of the jdbc driver name
- Throws:
java.sql.SQLException