public class Driver169 extends InternalDriver
active| Constructor and Description |
|---|
Driver169() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSystemPrivileges(java.lang.String user,
java.security.Permission perm)
Checks for System Privileges.
|
protected EmbedConnection |
getNewEmbedConnection(java.lang.String url,
java.util.Properties info) |
java.sql.Connection |
getNewNestedConnection(EmbedConnection conn)
Get a new nested connection.
|
java.sql.CallableStatement |
newEmbedCallableStatement(EmbedConnection conn,
java.lang.String stmt,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
java.sql.PreparedStatement |
newEmbedPreparedStatement(EmbedConnection conn,
java.lang.String stmt,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability,
int autoGeneratedKeys,
int[] columnIndexes,
java.lang.String[] columnNames) |
EmbedResultSet |
newEmbedResultSet(EmbedConnection conn,
ResultSet results,
boolean forMetaData,
EmbedStatement statement,
boolean isAtomic)
Return a new java.sql.ResultSet instance for this implementation.
|
java.sql.Statement |
newEmbedStatement(EmbedConnection conn,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
protected EmbedConnection |
timeLogin(java.lang.String url,
java.util.Properties info,
int loginTimeoutSeconds)
This method does not enforce timeouts on JSR 169.
|
acceptsURL, activeDriver, boot, connect, embeddedDriverAcceptsURL, getAttributes, getAuthenticationService, getContextServiceFactory, getDatabaseName, getDeregister, getMajorVersion, getMinorVersion, isActive, jdbcCompliant, newEmbedDatabaseMetaData, newEmbedResultSetMetaData, setDeregister, stopprotected EmbedConnection getNewEmbedConnection(java.lang.String url, java.util.Properties info) throws java.sql.SQLException
getNewEmbedConnection in class InternalDriverjava.sql.SQLExceptionprotected EmbedConnection timeLogin(java.lang.String url, java.util.Properties info, int loginTimeoutSeconds) throws java.sql.SQLException
timeLogin in class InternalDriverjava.sql.SQLExceptionpublic java.sql.Connection getNewNestedConnection(EmbedConnection conn)
getNewNestedConnection in class InternalDriverconn - The EmbedConnection.public java.sql.Statement newEmbedStatement(EmbedConnection conn, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
newEmbedStatement in class InternalDriverpublic java.sql.PreparedStatement newEmbedPreparedStatement(EmbedConnection conn, java.lang.String stmt, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, java.lang.String[] columnNames) throws java.sql.SQLException
newEmbedPreparedStatement in class InternalDriverjava.sql.SQLException - if fails to create statementpublic java.sql.CallableStatement newEmbedCallableStatement(EmbedConnection conn, java.lang.String stmt, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws java.sql.SQLException
newEmbedCallableStatement in class InternalDriverjava.sql.SQLException - if fails to create statementpublic EmbedResultSet newEmbedResultSet(EmbedConnection conn, ResultSet results, boolean forMetaData, EmbedStatement statement, boolean isAtomic) throws java.sql.SQLException
InternalDrivernewEmbedResultSet in class InternalDriverconn - Owning connectionresults - Top level of language result set treeforMetaData - Is this for meta-datastatement - The statement that is creating the SQL ResultSetjava.sql.SQLExceptionpublic void checkSystemPrivileges(java.lang.String user,
java.security.Permission perm)
throws java.lang.Exception
checkSystemPrivileges in class InternalDriveruser - The user to be checked for having the permissionperm - The permission to be checkedjava.security.AccessControlException - if permissions are missingjava.lang.Exception - if the privileges check fails for some other reasonApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.