#include <connection.h>
Inheritance diagram for GQL::Connection:
Public Member Functions | |
Connection () | |
virtual | ~Connection () |
virtual Statement * | create_statement ()=0 |
Create a empty statement. | |
virtual PreparedStatement * | prepare_statement (const std::string &sql)=0 |
Create a prepared statement. | |
virtual CallableStatement * | prepare_call (const std::string &sql)=0 |
Create a callable statement. | |
virtual void | commit ()=0 |
Commit the current transaction. | |
virtual bool | get_auto_commit () const=0 |
Return true if automatic commitment is enabled. | |
virtual void | set_auto_commit (bool auto_commit=true)=0 |
Return set automatic commitment. | |
virtual void | rollback ()=0 |
Rollback current transaction. | |
virtual std::string | get_catalog () const=0 |
virtual std::string | native_sql (const std::string &sql) const=0 |
Returns a std::string with the native SQL grammar of the database. | |
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) |
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 std::string with the native SQL grammar of the database.
|
|
Create a callable statement.
|
|
Create a prepared statement.
|
|
Rollback current transaction.
|
|
Return set automatic commitment.
|
|
|