#include <connection.h>
Inheritance diagram for GQL::Connection:

Public Methods | |
| Connection () | |
| virtual | ~Connection () |
| virtual Statement * | create_statement ()=0 |
| Create a empty statement. More... | |
| virtual PreparedStatement * | prepare_statement (const string &sql)=0 |
| Create a prepared statement. More... | |
| virtual CallableStatement * | prepare_call (const string &sql)=0 |
| Create a callable statement. More... | |
| virtual void | commit ()=0 |
| Commit the current transaction. More... | |
| virtual bool | get_auto_commit () const=0 |
| Return true if automatic commitment is enabled. More... | |
| virtual void | set_auto_commit (bool auto_commit=true)=0 |
| Return set automatic commitment. More... | |
| virtual void | rollback ()=0 |
| Rollback current transaction. More... | |
| virtual string | get_catalog () const=0 |
| virtual string | native_sql (const string &sql) const=0 |
| Returns a string with the native SQL grammar of the database. More... | |
| virtual DatabaseMetaData * | get_meta_data ()=0 |
| virtual void | set_read_only (bool read_only=true)=0 |
| virtual bool | is_read_only () const=0 |
| virtual SQLObject * | create_object () |
| virtual SQLObject * | create_blob () |
| virtual void | destroy_blob (SQLObject *blob) |
Public Attributes | |
| SigC::Signal0< void > | destroy |
This is the base class of the various connections provided by the database drivers.
|
|
|
|
|
|
|
|
Commit the current transaction.
|
|
|
|
|
|
|
|
|
Create a empty statement.
|
|
|
|
|
|
Return true if automatic commitment is enabled.
|
|
|
|
|
|
|
|
|
|
|
|
Returns a string with the native SQL grammar of the database.
|
|
|
Create a callable statement.
|
|
|
Create a prepared statement.
|
|
|
Rollback current transaction.
|
|
|
Return set automatic commitment.
|
|
|
|
|
|
|
1.2.15