Connection
class implements a virtual connection that is just used to store the needed information when the real connection will have to be established by the Controller to execute a query. This code has been inspired from the PostgreSQL JDBC driver by Peter T. Mount.
Connection.java の 65 行で定義されています。
Public メソッド | |
Connection () | |
Connection (Driver driver, Socket socket, CJDBCInputStream in, CJDBCOutputStream out, String url, String userName, String password, boolean sqlSkeletonNeeded, AbstractBlobFilter filter) | |
String | getURL () |
String | getUserName () |
String | getPassword () |
String | getConnectedController () |
void | clearWarnings () throws SQLException |
void | close () throws SQLException |
void | commit () throws SQLException |
java.sql.Statement | createStatement () throws SQLException |
java.sql.Statement | createStatement (int resultSetType, int resultSetConcurrency) throws SQLException |
boolean | getAutoCommit () throws SQLException |
java.sql.DatabaseMetaData | getMetaData () throws SQLException |
String | getCatalog () throws SQLException |
ResultSet | getCatalogs () throws SQLException |
int | getTransactionIsolation () throws SQLException |
java.util.Map | getTypeMap () throws SQLException |
SQLWarning | getWarnings () throws SQLException |
boolean | isClosed () throws SQLException |
boolean | isReadOnly () throws SQLException |
String | nativeSQL (String query) throws SQLException |
java.sql.CallableStatement | prepareCall (String sql) throws SQLException |
java.sql.CallableStatement | prepareCall (String sql, int resultSetType, int resultSetConcurrency) throws SQLException |
java.sql.PreparedStatement | prepareStatement (String sql) throws SQLException |
java.sql.PreparedStatement | prepareStatement (String sql, int resultSetType, int resultSetConcurrency) throws SQLException |
void | rollback () throws SQLException |
void | setAutoCommit (boolean autoCommit) throws SQLException |
void | setCatalog (String catalog) throws SQLException |
void | setReadOnly (boolean readOnly) throws SQLException |
void | setTransactionIsolation (int level) throws SQLException |
void | setTypeMap (java.util.Map map) throws SQLException |
ResultSet | execReadStoredProcedure (StoredProcedure proc) throws SQLException |
String | getControllerVersionNumber () throws SQLException |
void | setHoldability (int holdability) throws SQLException |
int | getHoldability () throws SQLException |
Savepoint | setSavepoint () throws SQLException |
Savepoint | setSavepoint (String name) throws SQLException |
void | rollback (Savepoint savepoint) throws SQLException |
void | releaseSavepoint (Savepoint savepoint) throws SQLException |
java.sql.Statement | createStatement (int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException |
java.sql.PreparedStatement | prepareStatement (String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException |
java.sql.CallableStatement | prepareCall (String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException |
java.sql.PreparedStatement | prepareStatement (String sql, int autoGeneratedKeys) throws SQLException |
java.sql.PreparedStatement | prepareStatement (String sql, int columnIndexes[]) throws SQLException |
java.sql.PreparedStatement | prepareStatement (String sql, String columnNames[]) throws SQLException |
AbstractBlobFilter | getBlobFilter () |
ResultSet | getTableTypes () throws SQLException |
ResultSet | getTablePrivileges (String catalog, String schemaPattern, String tableNamePattern) throws SQLException |
ResultSet | getSchemas () throws SQLException |
String | getDatabaseProductName () throws SQLException |
void | fetchNextData (String cursorName, int fetchSize, DriverResultSet drsToUpdate) throws SQLException |
void | closeRemoteResultSet (String cursorName) throws SQLException |
String | getPreparedStatementBooleanFalse () |
void | setPreparedStatementBooleanFalse (String booleanFalse) |
String | getPreparedStatementBooleanTrue () |
void | setPreparedStatementBooleanTrue (String booleanTrue) |
boolean | isEscapeBackslash () |
void | setEscapeBackslash (boolean escapeBackslash) |
boolean | isEscapeSingleQuote () |
void | setEscapeSingleQuote (boolean escapeSingleQuote) |
void | setEscapeChar (String escapeChar) |
String | getEscapeChar () |
Protected メソッド | |
void | finalize () throws Throwable |
java.sql.ResultSet | getProcedures (String catalog, String schemaPattern, String procedureNamePattern) throws SQLException |
java.sql.ResultSet | getProcedureColumns (String catalog, String schemaPattern, String procedureNamePattern, String columnNamePattern) throws SQLException |
void | setConnectionParametersOnRequest (AbstractRequest request) |
java.sql.ResultSet | execReadRequest (SelectRequest request) throws SQLException |
int | execWriteRequest (AbstractWriteRequest request) throws SQLException |
ResultSet | execWriteRequestWithKeys (AbstractWriteRequest request) throws SQLException |
int | execWriteStoredProcedure (StoredProcedure proc) throws SQLException |
ResultSet | getColumns (String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException |
ResultSet | getPrimaryKeys (String catalog, String schemaPattern, String tableNamePattern) throws SQLException |
ResultSet | getTables (String catalog, String schemaPattern, String tableNamePattern, String[] types) throws SQLException |
Protected 変数 | |
boolean | autoCommit = true |
boolean | isClosed = false |
boolean | readOnly = false |
int | isolationLevel = java.sql.Connection.TRANSACTION_READ_COMMITTED |
long | transactionId = 0 |
boolean | needSqlSkeleton = false |
SQLWarning | firstWarning = null |
DatabaseMetaData | metaData = null |
Driver | driver = null |
String | url = null |
String | vdbUser = null |
String | vdbPassword = null |
Socket | socket |
CJDBCInputStream | socketInput |
CJDBCOutputStream | socketOutput |
boolean | escapeBackslash = true |
boolean | escapeSingleQuote = true |
String | preparedStatementBooleanTrue = "'1'" |
String | preparedStatementBooleanFalse = "'0'" |
String | escapeChar = "\'" |
final String | LINE_SEPARATOR |
Private メソッド | |
void | reconnect () throws SQLException |
void | readRequestOnStream (SelectRequest request) throws IOException |
void | procedureOnStream (StoredProcedure proc, boolean isRead) throws IOException |
void | writeRequestOnStream (AbstractWriteRequest request, boolean withKeys) throws IOException |
Private 変数 | |
int | objectsOnStream = 0 |
int | reconnectRetries = 0 |
AbstractBlobFilter | blobFilter |
Static Private 変数 | |
final int | STREAM_GC_LIMIT = 5 |
final int | MAX_RECONNECT_ATTEMPTS = 2 |
|
Creates a new
|
|
Creates a new
|
|
After this call,
参照先 org.objectweb.cjdbc.driver.Connection.firstWarning.
|
|
Releases the connection. In fact, the connection is marked to be released but will be effectively closed by the
参照先 org.objectweb.cjdbc.driver.Connection.autoCommit, org.objectweb.cjdbc.driver.Driver.connectionClosingThreadisAlive, org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.isClosed, org.objectweb.cjdbc.driver.Driver.pendingConnectionClosing, org.objectweb.cjdbc.driver.Connection.readOnly, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.Connection.finalize().
|
|
Closes the remote ResultSet given its cursor name.
参照先 org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.DriverResultSet.close().
|
|
Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by the
参照先 org.objectweb.cjdbc.driver.Connection.autoCommit, org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.transactionId.
|
|
Creates a
This method is the same as the
|
|
SQL statements without parameters are normally executed using
参照先 org.objectweb.cjdbc.driver.Statement.setResultSetConcurrency(), と org.objectweb.cjdbc.driver.Statement.setResultSetType().
|
|
SQL statements without parameters are normally executed using
|
|
Performs a read request and return the reply.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.readRequestOnStream(), org.objectweb.cjdbc.driver.Connection.reconnect(), org.objectweb.cjdbc.driver.Connection.setConnectionParametersOnRequest(), org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.Statement.executeQuery().
|
|
Call a stored procedure that returns a ResultSet.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.procedureOnStream(), org.objectweb.cjdbc.driver.Connection.reconnect(), org.objectweb.cjdbc.driver.Connection.setConnectionParametersOnRequest(), org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.Statement.executeQuery().
|
|
Performs a write request and return the number of rows affected.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.reconnect(), org.objectweb.cjdbc.driver.Connection.setConnectionParametersOnRequest(), org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT, と org.objectweb.cjdbc.driver.Connection.writeRequestOnStream(). 参照元 org.objectweb.cjdbc.driver.Statement.executeUpdateWithSkeleton().
|
|
Performs a write request and return the number of rows affected.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.setConnectionParametersOnRequest(), org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT, と org.objectweb.cjdbc.driver.Connection.writeRequestOnStream(). 参照元 org.objectweb.cjdbc.driver.Statement.executeUpdateWithSkeleton().
|
|
Call a stored procedure that performs an update.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.procedureOnStream(), org.objectweb.cjdbc.driver.Connection.setConnectionParametersOnRequest(), org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.Statement.executeUpdateWithSkeleton().
|
|
Fetch next fetchSize rows of data and update the given ResultSet.
参照先 org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.DriverResultSet.next().
|
|
参照先 org.objectweb.cjdbc.driver.Connection.close(), と org.objectweb.cjdbc.driver.Connection.rollback().
|
|
Gets the current auto-commit state.
|
|
Returns the blobFilter value.
参照先 org.objectweb.cjdbc.driver.Connection.blobFilter. 参照元 org.objectweb.cjdbc.driver.DriverResultSet.getBytes(), org.objectweb.cjdbc.driver.DriverResultSet.getObject(), と org.objectweb.cjdbc.driver.PreparedStatement.setBytes().
|
|
Return current catalog name.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput.
|
|
getCatalogs definition.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getCatalogs().
|
|
Connection.java の 1481 行で定義されています。 参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getColumns().
|
|
Get the controller description to which this connection is connected to
参照先 org.objectweb.cjdbc.driver.Connection.socket.
|
|
Get the C-JDBC controller version number.
参照先 org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseProductVersion().
|
|
Connection.java の 2097 行で定義されています。 参照先 org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getDatabaseProductName().
|
|
参照先 org.objectweb.cjdbc.driver.Connection.escapeChar. 参照元 org.objectweb.cjdbc.driver.PreparedStatement.doEscapeProcessing().
|
|
Retrieves the current holdability of
|
|
A connection's database is able to provide information describing its tables, its supported SQL grammar, its stored procedures, the capabilities of this connection, etc. This information is made available through a DatabaseMetaData object.
参照先 org.objectweb.cjdbc.driver.Connection.metaData.
|
|
Gets the password used to login to the database.
参照先 org.objectweb.cjdbc.driver.Connection.vdbUser. 参照元 org.objectweb.cjdbc.driver.Driver.connect().
|
|
Returns the booleanFalse value.
参照先 org.objectweb.cjdbc.driver.Connection.preparedStatementBooleanFalse. 参照元 org.objectweb.cjdbc.driver.PreparedStatement.setBoolean().
|
|
Returns the booleanTrue value.
参照先 org.objectweb.cjdbc.driver.Connection.preparedStatementBooleanTrue. 参照元 org.objectweb.cjdbc.driver.PreparedStatement.setBoolean().
|
|
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getPrimaryKeys().
|
|
Connection.java の 524 行で定義されています。 参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedureColumns().
|
|
Connection.java の 487 行で定義されています。 参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getProcedures().
|
|
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getSchemas().
|
|
Gets a description of the access rights for each table available in a catalog. Note that a table privilege applies to one or more columns in the table. It would be wrong to assume that this priviledge applies to all columns (this may be true for some systems but is not true for all.) Only privileges matching the schema and table name criteria are returned. They are ordered by TABLE_SCHEM, TABLE_NAME, and PRIVILEGE.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getTablePrivileges().
|
|
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getTables().
|
|
Gets the table types available in this database. The results are ordered by table type.
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.socketInput, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.getTableTypes().
|
|
Gets this Connection's current transaction isolation mode.
参照先 org.objectweb.cjdbc.driver.Connection.isolationLevel.
|
|
C-JDBC does NOT support type map.
|
|
Gets the C-JDBC URL of the database of the connection.
参照先 org.objectweb.cjdbc.driver.Connection.url. 参照元 org.objectweb.cjdbc.driver.Driver.connect(), と org.objectweb.cjdbc.driver.DatabaseMetaData.getURL().
|
|
Gets the user name used to login to the database.
参照先 org.objectweb.cjdbc.driver.Connection.vdbUser. 参照元 org.objectweb.cjdbc.driver.Driver.connect(), と org.objectweb.cjdbc.driver.DatabaseMetaData.getUserName().
|
|
The first warning reported by calls on this connection is returned. Note: Sebsequent warnings will be changed to this SQLWarning
参照先 org.objectweb.cjdbc.driver.Connection.firstWarning.
|
|
Returns
参照先 org.objectweb.cjdbc.driver.Connection.isClosed.
|
|
Returns the escapeBackslash value.
参照先 org.objectweb.cjdbc.driver.Connection.escapeBackslash. 参照元 org.objectweb.cjdbc.driver.PreparedStatement.doEscapeProcessing(), と org.objectweb.cjdbc.driver.PreparedStatement.setString().
|
|
Returns the escapeSingleQuote value.
参照先 org.objectweb.cjdbc.driver.Connection.escapeSingleQuote. 参照元 org.objectweb.cjdbc.driver.PreparedStatement.doEscapeProcessing(), と org.objectweb.cjdbc.driver.PreparedStatement.setString().
|
|
Tests to see if the connection is in read only Mode. Note that we cannot really put the database in read only mode, but we pretend we can by returning the value of the
参照先 org.objectweb.cjdbc.driver.Connection.readOnly. 参照元 org.objectweb.cjdbc.driver.DatabaseMetaData.isReadOnly().
|
|
As we can't know for sure which database will execute this request (now or later), we can't translate it in the native query language of the underlying DBMS. Therefore the query is returned unchanged.
|
|
Creates a
|
|
Stored procedure call are not yet supported by C-JDBC.
参照先 org.objectweb.cjdbc.driver.Statement.setResultSetConcurrency(), と org.objectweb.cjdbc.driver.Statement.setResultSetType().
|
|
Creates a CallableStatement that contains sql and produces a ResultSet that is TYPE_SCROLL_INSENSITIVE and CONCUR_READ_ONLY.
|
|
Creates a default
An SQL statement with or without IN parameters can be pre-compiled and stored in a
Note: This method is optimized for handling parametric SQL statements that benefit from precompilation. If the driver supports precompilation, the method
Result sets created using the returned
|
|
Creates a default
An SQL statement with or without IN parameters can be pre-compiled and stored in a
Note: This method is optimized for handling parametric SQL statements that benefit from precompilation. If the driver supports precompilation, the method
Result sets created using the returned
|
|
Creates a default
Note: This method is optimized for handling parametric SQL statements that benefit from precompilation. If the driver supports precompilation, the method
Result sets created using the returned
参照先 org.objectweb.cjdbc.driver.PreparedStatement.setGeneratedKeysFlag().
|
|
Creates a
This method is the same as the
|
|
A SQL statement with or without IN parameters can be pre-compiled and stored in a
参照先 org.objectweb.cjdbc.driver.Statement.setResultSetConcurrency(), と org.objectweb.cjdbc.driver.Statement.setResultSetType().
|
|
A SQL statement with or without
|
|
Serialize a procedure on the output stream by sending only the needed parameters to reconstruct it on the controller
参照先 org.objectweb.cjdbc.driver.Connection.LINE_SEPARATOR, org.objectweb.cjdbc.driver.Connection.needSqlSkeleton, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.Connection.execReadStoredProcedure(), と org.objectweb.cjdbc.driver.Connection.execWriteStoredProcedure().
|
|
Serialize a read request on the output stream by sending only the needed parameters to reconstruct it on the controller
参照先 org.objectweb.cjdbc.driver.Connection.LINE_SEPARATOR, org.objectweb.cjdbc.driver.Connection.needSqlSkeleton, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.Connection.execReadRequest().
|
|
Connection.java の 1025 行で定義されています。 参照先 org.objectweb.cjdbc.driver.Connection.autoCommit, org.objectweb.cjdbc.driver.Driver.connect(), org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.MAX_RECONNECT_ATTEMPTS, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.reconnectRetries, org.objectweb.cjdbc.driver.Connection.socket, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, org.objectweb.cjdbc.driver.Connection.transactionId, org.objectweb.cjdbc.driver.Connection.url, org.objectweb.cjdbc.driver.Connection.vdbPassword, と org.objectweb.cjdbc.driver.Connection.vdbUser. 参照元 org.objectweb.cjdbc.driver.Connection.execReadRequest(), org.objectweb.cjdbc.driver.Connection.execReadStoredProcedure(), と org.objectweb.cjdbc.driver.Connection.execWriteRequest().
|
|
Removes the given
|
|
Undoes all changes made after the given This method should be used only when auto-commit has been disabled.
|
|
Drops all changes made since the previous commit/rollback and releases any database locks currently held by this connection. If the connection was in autocommit mode, we throw a SQLException.
参照先 org.objectweb.cjdbc.driver.Connection.autoCommit, org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.transactionId. 参照元 org.objectweb.cjdbc.driver.Connection.finalize().
|
|
If a connection is in auto-commit mode, then all its SQL statements will be executed and committed as individual transactions. Otherwise, its SQL statements are grouped into transactions that are terminated by either commit()or rollback(). By default, new connections are in auto-commit mode. The commit occurs when the statement completes or the next execute occurs, whichever comes first. In the case of statements returning a
参照先 org.objectweb.cjdbc.driver.Connection.autoCommit, org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, と org.objectweb.cjdbc.driver.Connection.transactionId.
|
|
Change the current catalog
参照先 org.objectweb.cjdbc.driver.Connection.driver, org.objectweb.cjdbc.driver.Driver.getUrlFromProperties(), org.objectweb.cjdbc.driver.Connection.objectsOnStream, org.objectweb.cjdbc.driver.Driver.parseURL(), org.objectweb.cjdbc.driver.Connection.socketInput, org.objectweb.cjdbc.driver.Connection.socketOutput, org.objectweb.cjdbc.driver.Connection.STREAM_GC_LIMIT, と org.objectweb.cjdbc.driver.Connection.url.
|
|
Set the autocommit mode and read-only status on this request.
参照先 org.objectweb.cjdbc.driver.Connection.autoCommit, と org.objectweb.cjdbc.driver.Connection.readOnly. 参照元 org.objectweb.cjdbc.driver.Connection.execReadRequest(), org.objectweb.cjdbc.driver.Connection.execReadStoredProcedure(), org.objectweb.cjdbc.driver.Connection.execWriteRequest(), org.objectweb.cjdbc.driver.Connection.execWriteRequestWithKeys(), と org.objectweb.cjdbc.driver.Connection.execWriteStoredProcedure().
|
|
Sets the escapeBackslash value.
|
|
Sets the escapeCharacter value
|
|
Sets the escapeSingleQuote value.
|
|
Changes the holdability of
|
|
Sets the booleanFalse value.
|
|
Sets the booleanTrue value.
|
|
You can put a connection in read-only mode as a hint to enable database optimizations Note: setReadOnly cannot be called while in the middle of a transaction
参照先 org.objectweb.cjdbc.driver.Connection.autoCommit, と org.objectweb.cjdbc.driver.Connection.readOnly.
|
|
Creates a savepoint with the given name in the current transaction and returns the new
|
|
Creates an unnamed savepoint in the current transaction and returns the new
|
|
You can call this method to try to change the transaction isolation level using one of the TRANSACTION_* values. Note: this method cannot be called while in the middle of a transaction.
参照先 org.objectweb.cjdbc.driver.Connection.isolationLevel.
|
|
C-JDBC does NOT support type map.
|
|
Serialize a write request on the output stream by sending only the needed parameters to reconstruct it on the controller
参照先 org.objectweb.cjdbc.driver.Connection.LINE_SEPARATOR, org.objectweb.cjdbc.driver.Connection.needSqlSkeleton, と org.objectweb.cjdbc.driver.Connection.socketOutput. 参照元 org.objectweb.cjdbc.driver.Connection.execWriteRequest(), と org.objectweb.cjdbc.driver.Connection.execWriteRequestWithKeys().
|
|
|
Connection.java の 122 行で定義されています。 |
|
|
Connection.java の 125 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.isEscapeBackslash(). |
|
Connection.java の 132 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.getEscapeChar(), と org.objectweb.cjdbc.driver.PreparedStatement.setBytes(). |
|
Connection.java の 126 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.isEscapeSingleQuote(). |
|
List of 参照元 org.objectweb.cjdbc.driver.Connection.clearWarnings(), と org.objectweb.cjdbc.driver.Connection.getWarnings(). |
|
Status of the connection. Connection.java の 73 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.close(), org.objectweb.cjdbc.driver.Driver.connect(), と org.objectweb.cjdbc.driver.Connection.isClosed(). |
|
Isolation level. Connection.java の 79 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.getTransactionIsolation(), と org.objectweb.cjdbc.driver.Connection.setTransactionIsolation(). |
|
|
Connection.java の 120 行で定義されています。 |
|
Meta-data of C-JDBC connections. Connection.java の 91 行で定義されています。 |
|
Does the controller require the SQL skeleton? Connection.java の 85 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Statement.executeQuery(), org.objectweb.cjdbc.driver.Statement.executeUpdateWithSkeleton(), org.objectweb.cjdbc.driver.Connection.procedureOnStream(), org.objectweb.cjdbc.driver.Connection.readRequestOnStream(), と org.objectweb.cjdbc.driver.Connection.writeRequestOnStream(). |
|
|
Connection.java の 130 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.getPreparedStatementBooleanFalse(). |
|
Connection.java の 129 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.getPreparedStatementBooleanTrue(). |
|
Is the connection in read-only mode ? Connection.java の 76 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.close(), org.objectweb.cjdbc.driver.Connection.isReadOnly(), org.objectweb.cjdbc.driver.Connection.setConnectionParametersOnRequest(), と org.objectweb.cjdbc.driver.Connection.setReadOnly(). |
|
Connection.java の 117 行で定義されています。 |
|
|
|
|
|
|
C-JDBC URL of the database. Connection.java の 97 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.getURL(), org.objectweb.cjdbc.driver.Connection.reconnect(), と org.objectweb.cjdbc.driver.Connection.setCatalog(). |
|
Connection.java の 101 行で定義されています。 |
|
Virtual database user used for this connection. Connection.java の 100 行で定義されています。 参照元 org.objectweb.cjdbc.driver.Connection.getPassword(), org.objectweb.cjdbc.driver.Connection.getUserName(), と org.objectweb.cjdbc.driver.Connection.reconnect(). |