| java.lang.Object org.apache.derby.jdbc.InternalDriver org.apache.derby.jdbc.Driver20
All known Subclasses: org.apache.derby.jdbc.Driver30,
Driver20 | public class Driver20 extends InternalDriver implements Driver(Code) | | This class extends the local JDBC driver in order to determine at JBMS
boot-up if the JVM that runs us does support JDBC 2.0. If it is the case
then we will load the appropriate class(es) that have JDBC 2.0 new public
methods and sql types.
|
Method Summary | |
public void | boot(boolean create, Properties properties) | public EmbedConnection | getNewEmbedConnection(String url, Properties info) | public Connection | getNewNestedConnection(EmbedConnection conn) Get a new nested connection.
Parameters: conn - The EmbedConnection. | public DriverPropertyInfo[] | getPropertyInfo(String url, Properties info) The getPropertyInfo method is intended to allow a generic GUI tool to
discover what properties it should prompt a human for in order to get
enough information to connect to a database. | public BrokeredConnection | newBrokeredConnection(BrokeredConnectionControl control) | public java.sql.CallableStatement | newEmbedCallableStatement(EmbedConnection conn, String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public java.sql.PreparedStatement | newEmbedPreparedStatement(EmbedConnection conn, String stmt, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames) | public org.apache.derby.impl.jdbc.EmbedResultSet | newEmbedResultSet(EmbedConnection conn, ResultSet results, boolean forMetaData, org.apache.derby.impl.jdbc.EmbedStatement statement, boolean isAtomic) | public void | stop() |
getNewNestedConnection | public Connection getNewNestedConnection(EmbedConnection conn)(Code) | | Get a new nested connection.
Parameters: conn - The EmbedConnection. A nested connection object. |
getPropertyInfo | public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException(Code) | | The getPropertyInfo method is intended to allow a generic GUI tool to
discover what properties it should prompt a human for in order to get
enough information to connect to a database. Note that depending on
the values the human has supplied so far, additional values may become
necessary, so it may be necessary to iterate though several calls
to getPropertyInfo.
Parameters: url - The URL of the database to connect to. Parameters: info - A proposed list of tag/value pairs that will be sent onconnect open. An array of DriverPropertyInfo objects describing possibleproperties. This array may be an empty array if no propertiesare required. exception: SQLException - if a database-access error occurs. |
Fields inherited from org.apache.derby.jdbc.InternalDriver | protected boolean active(Code)(Java Doc)
|
Methods inherited from org.apache.derby.jdbc.InternalDriver | public boolean acceptsURL(String url)(Code)(Java Doc) final public static InternalDriver activeDriver()(Code)(Java Doc) public void boot(boolean create, Properties properties) throws StandardException(Code)(Java Doc) public Connection connect(String url, Properties info) throws SQLException(Code)(Java Doc) public static boolean embeddedDriverAcceptsURL(String url)(Code)(Java Doc) protected FormatableProperties getAttributes(String url, Properties info) throws SQLException(Code)(Java Doc) public AuthenticationService getAuthenticationService()(Code)(Java Doc) final public ContextService getContextServiceFactory()(Code)(Java Doc) public static String getDatabaseName(String url, Properties info)(Code)(Java Doc) public int getMajorVersion()(Code)(Java Doc) public int getMinorVersion()(Code)(Java Doc) abstract protected EmbedConnection getNewEmbedConnection(String url, Properties info) throws SQLException(Code)(Java Doc) abstract public Connection getNewNestedConnection(EmbedConnection conn)(Code)(Java Doc) public boolean isActive()(Code)(Java Doc) public boolean jdbcCompliant()(Code)(Java Doc) abstract public java.sql.CallableStatement newEmbedCallableStatement(EmbedConnection conn, String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code)(Java Doc) public DatabaseMetaData newEmbedDatabaseMetaData(EmbedConnection conn, String dbname) throws SQLException(Code)(Java Doc) abstract public java.sql.PreparedStatement newEmbedPreparedStatement(EmbedConnection conn, String stmt, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames) throws SQLException(Code)(Java Doc) abstract public EmbedResultSet newEmbedResultSet(EmbedConnection conn, ResultSet results, boolean forMetaData, EmbedStatement statement, boolean isAtomic) throws SQLException(Code)(Java Doc) public EmbedResultSetMetaData newEmbedResultSetMetaData(ResultColumnDescriptor[] columnInfo)(Code)(Java Doc) public java.sql.Statement newEmbedStatement(EmbedConnection conn, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability)(Code)(Java Doc) public void stop()(Code)(Java Doc)
|
|
|