IRISLIB database
Connection Class Reference

FOR INTERNAL USE - do not invoke directly. More...

Inheritance diagram for Connection:
Collaboration diagram for Connection:

Public Member Functions

 Close ()
 Releases this Connection object's database and resources immediately instead of waiting for them to be automatically released.
 
 Commit ()
 Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object.
 
_.XDBC.Gateway.JDBC.Statement CreateStatement ()
 Creates a Statement object for sending SQL statements to the database.
 
_.Library.Boolean GetAutoCommit ()
 Retrieves the current auto-commit mode for this Connection object.
 
_.XDBC.Gateway.JDBC.DatabaseMetaData GetMetaData ()
 Retrieves a DatabaseMetaData object that contains metadata about the database to which this Connection object represents a connection.
 
_.Library.String GetSchema ()
 Retrieves this Connection object's current schema name.
 
_.Library.Integer GetTransactionIsolation ()
 Retrieves this Connection object's current transaction isolation level.
 
_.Library.Boolean IsClosed ()
 Retrieves whether this Connection object has been closed.
 
_.Library.Boolean IsReadOnly ()
 Retrieves whether this Connection object is in read-only mode.
 
_.Library.Boolean IsValid (_.Library.Integer timeout)
 Returns true if the connection has not been closed and is still valid.
 
_.XDBC.Gateway.JDBC.Statement PrepareCall (_.Library.String sql)
 Creates a Statement object for calling stored procedures.
 
_.XDBC.Gateway.JDBC.Statement PrepareStatement (_.Library.String sql, _.Library.Integer resultSetType, _.Library.Integer resultSetConcurrency)
 Creates a statement object for sending parameterized SQL statements to the database.
 
 Rollback ()
 Undoes all changes made in the current transaction and releases any database. More...
 
 SetAutoCommit (_.Library.Boolean autoCommit)
 Sets this connection's auto-commit mode to the given state.
 
 SetReadOnly (_.Library.Boolean readOnly)
 Puts this connection in read-only mode as a hint to the driver to enable database optimizations.
 
 SetSchema (_.Library.String schema)
 Sets the given schema name to access.
 
 SetTransactionIsolation (_.Library.Integer level)
 Attempts to change the transaction isolation level for this Connection object to the one given. More...
 

Public Attributes

 java
   More...
 
 jdbcConnection
   More...
 

Static Public Attributes

 CONCURREADONLY = None
 FOR INTERNAL USE - do not invoke directly.
 
 TRANSACTIONNONE = None
 A constant indicating that transactions are not supported.
 

Detailed Description

FOR INTERNAL USE - do not invoke directly.

Member Function Documentation

◆ Rollback()

Rollback ( )

Undoes all changes made in the current transaction and releases any database.

locks currently held by this Connection object

◆ SetTransactionIsolation()

SetTransactionIsolation ( _.Library.Integer  level)

Attempts to change the transaction isolation level for this Connection object to the one given.

level is 1, 2, 4 (Connection.TRANSACTION_REPEATABLE_READ) or 8 (Connection.TRANSACTION_SERIALIZABLE)

Member Data Documentation

◆ java

java

 

 

◆ jdbcConnection

jdbcConnection