| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private boolean | |
| pack-priv byte[] | |
| protected int | |
| private transient char[] | |
| private String | |
| private List | |
| private PreparedStatement | isValidStmt
Prepared statement that is used each time isValid() is called on this connection. |
| private static final MessageUtil | |
| protected NetAgent | |
| private final ClientPooledConnection | |
| private ByteBuffer | |
| private transient byte[] | |
| private int | |
| private transient byte[] | |
| protected int | |
| protected int | |
| protected int | |
| private transient byte[] | |
| protected int | |
| protected int | |
| private int | |
| pack-priv int | |
| private transient byte[] | |
| pack-priv String | |
| pack-priv String | |
| protected int | |
| protected int | |
| protected int | |
| protected NetXAResource |
| Access | Constructor and Description |
|---|---|
| pack-priv | NetConnection(LogWriter logWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties)
|
| pack-priv | NetConnection(LogWriter logWriter, String user, String password, BasicClientDataSource dataSource, int rmId, boolean isXAConn)
|
| pack-priv | NetConnection(LogWriter
LogWriter object associated with this connection logWriter, String user id for this connection user, String password for this connection password, BasicClientDataSource The DataSource object passed from the PooledConnection
object from which this constructor was called dataSource, int The Resource manager ID for XA Connections rmId, boolean true if this is a XA connection isXAConn, ClientPooledConnection The ClientPooledConnection object from which this
NetConnection constructor was called. This is used
to pass StatementEvents back to the pooledConnection
object cpc)This constructor is called from the ClientPooledConnection object
to enable the NetConnection to pass |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | Returns: if this connection can be closed when it has uncommitted operations,true; otherwise, falseImplements abstract org. |
| protected boolean | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public synchronized void | close()
Overrides org. Implements java. |
| private void | |
| protected void | |
| private void | |
| private void | |
| public Array | createArrayOf(String
the SQL name of the type the elements of the array map to. The typeName is a
database-specific name which may be the name of a built-in type, a user-defined type or a standard SQL type supported by this database. This
is the value returned by typeName, Object[] Array.getBaseTypeNamethe elements that populate the returned object elements)Implements java. |
| public NClob | createNClob()
Implements java. NClob interface.
|
| public SQLXML | createSQLXML()
Implements java. SQLXML interface.
|
| public Struct | createStruct(String
the SQL type name of the SQL structured type that this typeName, Object[] Struct
object maps to. The typeName is the name of a user-defined type that
has been defined for this database. It is the value returned by
Struct.getSQLTypeName.the attributes that populate the returned object attributes)Implements java. |
| protected boolean | |
| private byte[] | |
| private byte[] | |
| private byte[] | |
| private char[] | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private boolean | |
| private void | flowSecurityCheckAndAccessRdb(int securityMechanism, String user, String password, byte[] encryptedUserid, byte[] encryptedPassword)
|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | flowUSRSSBPWDconnect(String password)
The User ID and Strong Password Substitute mechanism (USRSSBPWD) authenticates the user like the user ID and password mechanism, but the password does not flow. |
| public int | |
| public String | Returns: anull String valuea name)String valueImplements java. getClientInfo always returns a
null String since Derby doesn't support
ClientInfoProperties.
|
| public Properties | Returns: an emptyProperties object.Implements java. getClientInfo always returns an empty
Properties object since Derby doesn't support
ClientInfoProperties.
|
| public int | |
| private String | |
| public EncryptionManager | |
| pack-priv Xid[] | |
| public InputStream | |
| public OutputStream | |
| public String | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public byte[] | |
| public int | |
| private void | |
| private void | |
| private void | |
| private void | |
| public final boolean | |
| protected boolean | |
| public boolean | |
| public boolean | Returns: true if the connection is valid, false otherwiseThe time in seconds to wait for the database
operation used to validate the connection to complete. If the
timeout period expires before the operation completes, this
method returns false. A value of 0 indicates a timeout is not
applied to the database operation. timeout)Implements java. |
| public boolean | Returns: true if this implements the interface or directly or indirectly wraps an object that does.a Class defining an interface. interfaces)Implements java. interfaces is implemented
|
| private SqlException | |
| protected void | |
| protected Agent | newAgent_(LogWriter logWriter, int loginTimeout, String serverName, int portNumber, int clientSSLMode)
Implements abstract org. |
| protected ClientCallableStatement | newCallableStatement_(String sql, int type, int concurrency, int holdability)
Implements abstract org. |
| protected ClientDatabaseMetaData | newDatabaseMetaData_()
Implements abstract org. |
| protected ClientPreparedStatement | newPositionedUpdatePreparedStatement_(String sql, Section section)
Implements abstract org. |
| protected ClientPreparedStatement | newPreparedStatement_(String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)
Implements abstract org. |
| public SectionManager | newSectionManager(Agent agent)
Implements abstract org. |
| protected ClientStatement | newStatement_(int type, int concurrency, int holdability)
Implements abstract org. |
| private byte[] | |
| pack-priv void | |
| private void | |
| public void | readCommitSubstitute_()
Implements abstract org. |
| pack-priv void | |
| public void | |
| public void | readLocalRollback_()
Implements abstract org. |
| public void | readLocalXACommit_()
Implements abstract org. |
| public void | readLocalXARollback_()
Implements abstract org. |
| public void | readLocalXAStart_()
Implements abstract org. |
| private void | |
| private void | |
| public void | |
| protected void | readXACommit_()
Implements abstract org. |
| protected void | readXARollback_()
Implements abstract org. |
| protected void | |
| protected void | resetCallableStatement_(ClientCallableStatement cs, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
Implements abstract org. |
| private void | |
| protected void | resetPreparedStatement_(ClientPreparedStatement ps, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes)
Implements abstract org. |
| protected void | resetStatement_(ClientStatement statement, int type, int concurrency, int holdability)
Implements abstract org. |
| pack-priv void | |
| public final boolean | |
| protected final boolean | |
| public final boolean | |
| protected final boolean | Returns: true if LOB locators are supported.Implements abstract org. |
| pack-priv final boolean | Returns: true if QRYCLSIMP is fully supportedCheck whether the server has full support for the QRYCLSIMP parameter in OPNQRY. |
| protected final boolean | serverSupportsTimestampNanoseconds()
Implements abstract org. |
| protected final boolean | |
| protected final boolean | Returns: true if the server supports the UTF-8 Ccsid ManagerCheck whether the server supports the UTF-8 Ccsid Manager |
| pack-priv void | setAccessSecurityData(int secchkcd, int desiredSecmec, int[] secmecList, boolean sectknReceived, byte[] sectkn)
|
| public void | setClientInfo(String
a property key name, String Stringa property value value)StringImplements java. setClientInfo will always throw a
SQLClientInfoException since Derby does not support
any properties.
|
| public void | setClientInfo(Properties
a properties)Properties object with the
properties to set.Implements java. setClientInfo will throw a
SQLClientInfoException unless the properties
parameter is empty, since Derby does not support any
properties.
|
| public void | |
| private void | |
| public void | |
| public void | |
| public void | |
| pack-priv void | |
| protected final boolean | Returns: true session data caching is supportedImplements abstract org. |
| public <T> T | Returns: an object that implements the interfacea Class defining an interface interfaces)Implements java. this if this class implements the interface
|
| public boolean | |
| private void | |
| public void | writeCommitSubstitute_()
Implements abstract org. |
| pack-priv void | |
| public void | writeLocalCommit_()
Implements abstract org. |
| public void | writeLocalRollback_()
Implements abstract org. |
| public void | writeLocalXACommit_()
Implements abstract org. |
| public void | writeLocalXARollback_()
Implements abstract org. |
| public void | writeLocalXAStart_()
Implements abstract org. |
| private void | writeSecurityCheckAndAccessRdb(int securityMechanism, String user, String password, byte[] encryptedUserid, byte[] encryptedPassword)
|
| private void | |
| public void | |
| protected void | writeXACommit_()
Implements abstract org. |
| protected void | writeXARollback_()
Implements abstract org. |
| protected void | writeXATransactionStart(ClientStatement statement)
Implements abstract org. |