#include <SQLDBC.h>
Inheritance diagram for SQLDBC::SQLDBC_Connection:
This class combines the functions necesary for managing a connection to the database. If a new connection object is created, it is not connected. The connection to the database is established when a successful connect() call was performed.
Distribute the results of a COMMIT or ROLLBACK statment into dependent objects (for correct handling of PUTVAL commands).
Definition at line 1973 of file SQLDBC.h.
|
Cancels the running database request that is executed on the connection.
|
|
Deletes the error has been stored.
|
|
Deletes the warning stored in the SQLWarning object.
|
|
Closes the SQLDBC_Connection. Releases the database and interface runtime resources immediately instead of waiting for them to be released by the destructor.
|
|
Commits all changes to the database session. All changes made since the previous COMMIT/ROLLBACK statement are stored, any database locks held by this SQLDBC_Connection object are released.
|
|
Opens a new database session using the runtime abstraction interface. This method attaches the connection object an existing session. It is recommended that you implement the virtual method getSession and releaseSession in the Runtime Abstraction Interface.
|
|
Opens a new database session using the SQLDBC_ConnectProperties object. This methode interprets all character arguments as zero-terminated ASCII strings.
|
|
Opens a new database session using the SQLDBC_ConnectProperties object. This methode interpres all character arguments as zero-terminated ASCII strings. User name and password must be in userpwdEncoding code.
|
|
Opens a new database session using the SQLDBC_ConnectProperties object. For the connection options not specified, the following default values are used:
|
|
Opens a new database session using the default values for the options. The methode accepts all character arguments as zero-terminated ASCII strings.
|
|
Opens a new database session using the default values for the options. This methode interprets all character arguments as zero-terminated ASCII strings. User name and password must be in userpwdEncoding code.
|
|
Opens a new database session using the default values for the options.
|
|
Opens a new database session using an explicit URL and a CONNECT statement. This method should be used only for custom connections together with a custom implementation of the SQLDBC_IRuntime interface.
|
|
Creates an SQLDBC_PreparedStatement object for sending SQL statements to the database. An SQLDBC_PreparedStatement object is 'prepared' in the database server and can use binding variables for input/output parameters.
|
|
Creates an SQLDBC_Statement object for sending SQL statements to the database. SQL statements without parameters are normally executed using SQLDBC_Statement objects. Applications executing SQL statements several times or binding parameters for input and/or output must use SQLDBC_PreparedStatement objects.
|
|
Returns a reference to the ErrorHndl object.
|
|
Returns whether the connection is in AUTCOMMIT mode.
|
|
Returns the currently active date/time format.
|
|
Returns the kernel version. It will be returned in the following format: <major_release><minor_releaser><correction_level>
|
|
Returns the transaction isolation level.
|
|
Returns whether if the connection to the database was established.
|
|
Returns whether the database is an unicode database or not.
|
|
Releases an SQLDBC_PreparedStatement.
|
|
Releases an SQLDBC_Statement.
|
|
Undoes all changes made in the current transaction and releases any database locks held by this connection object.
|
|
Sets the AUTOCOMMIT mode for the connection.
|
|
Sets the SQL mode.
|
|
Sets the transaction isolation level.
|
|
Returns a reference to an SQLWarning object stored in the SQLDBC_ConnectionItem object.
|
|
Reimplemented from SQLDBC::SQLDBC_ConnectionItem. |