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 ()
 Call Close (ODBC Disconnect) on connection.
 
 Commit ()
 Makes all changes made since the previous commit/rollback permanent and releases any database locks currently held by this Connection object.
 
_.XDBC.Gateway.ODBC.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.
 
_.Library.String GetInfo (_.Library.Integer Type)
 Get connection information specifyed by Type.
 
_.XDBC.Gateway.ODBC.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.ODBC.Statement PrepareCall (_.Library.String sql)
 Creates a Statement object for calling stored procedures.
 
_.XDBC.Gateway.ODBC.Statement PrepareStatement (_.Library.String sql)
 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

 connection
   More...
 
 enviroment
   More...
 
 gateway
   More...
 

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

◆ connection

connection

 

 

◆ enviroment

enviroment

 

 

◆ gateway

gateway