org.enhydra.jdbc.instantdb
Class IdbDataSource

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

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


IdbDataSource

public IdbDataSource(java.sql.Driver driver)
              throws java.sql.SQLException
Constructors

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