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:
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)
           
 
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
Overrides:
setDriverName in class StandardDataSource
java.sql.SQLException