org.enhydra.jdbc.instantdb
Class IdbDataSource

java.lang.Object
  extended by org.enhydra.jdbc.util.JdbcUtil
      extended by org.enhydra.jdbc.core.CoreDataSource
          extended by org.enhydra.jdbc.standard.StandardDataSource
              extended by org.enhydra.jdbc.instantdb.IdbDataSource
All Implemented Interfaces:
java.io.Serializable, javax.naming.Referenceable, javax.naming.spi.ObjectFactory, javax.sql.DataSource

public class IdbDataSource
extends StandardDataSource
implements javax.sql.DataSource

Data source for creating IdbConnections.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.enhydra.jdbc.core.CoreDataSource
logWriter, password, user
 
Fields inherited from class org.enhydra.jdbc.util.JdbcUtil
log
 
Constructor Summary
IdbDataSource()
          Constructors
IdbDataSource(java.sql.Driver driver)
          Constructors
 
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 org.enhydra.jdbc.util.JdbcUtil
setLogger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.sql.DataSource
getConnection, getConnection, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 

Constructor Detail

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
Method Detail

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