| org.enhydra.jdbc.core.CoreDataSource org.enhydra.jdbc.standard.StandardDataSource
All known Subclasses: org.enhydra.jdbc.standard.StandardConnectionPoolDataSource, org.enhydra.jdbc.instantdb.IdbDataSource,
StandardDataSource | public class StandardDataSource extends CoreDataSource implements DataSource(Code) | | Provides a Data Source which can be used to generate JDBC connections.
This class is generic in the sense that it does not rely upon anything other
than standard Java APIs. It uses java.sql.DriverManager and preconfigured
properties to construct a JDBC connection.
Important : networkProtocol, portNumber, serverName are not used. Please use
instead the url property.
|
StandardDataSource | public StandardDataSource()(Code) | | Constructors
|
getDriverName | public String getDriverName()(Code) | | return the name of the driver
the string representation of the driver name |
getTransactionIsolation | public int getTransactionIsolation()(Code) | | return the transaction isolation level defined for the current database
the transaction isolation level |
getUrl | public String getUrl()(Code) | | return the url of the database
the string representation of the database url |
hashCode | public int hashCode()(Code) | | |
setDriverName | public void setDriverName(String driverName) throws SQLException(Code) | | set the name of the jdbc driver
Parameters: driverName - the string representation of the jdbc driver name throws: SQLException - |
setTransactionIsolation | public void setTransactionIsolation(int level)(Code) | | set the level of the transaction isolation for the current database
Parameters: level - the integer level |
setUrl | public void setUrl(String url)(Code) | | set the database url
Parameters: url - the string representation of the database url |
|
|