|
DCL 3.7.4
|
#include <SQL.h>
Public Member Functions | |
| SQLConnection (SQLDriver *_driver) | |
| SQLConnection (const String &_driverName) __DCL_THROWS1(SQLDriverException *) | |
| virtual | ~SQLConnection () |
| void | open (const String &_connstr) __DCL_THROWS1(SQLException *) |
| void | close () __DCL_THROWS1(SQLException *) |
| void | execute (const String &_sql) __DCL_THROWS1(SQLException *) |
| void | startTrans () __DCL_THROWS1(SQLException *) |
| void | commitTrans () __DCL_THROWS1(SQLException *) |
| void | rollbackTrans () __DCL_THROWS1(SQLException *) |
| String | getServerInfo () __DCL_THROWS1(SQLException *) |
| bool | canTransact () const |
| SQL::Connection * | handle () const |
| SQLDriver * | driver () const |
| bool | connected () const |
| bool | inTransaction () const |
| Public Member Functions inherited from Object | |
| virtual String | toString () const |
| virtual void | destroy () |
| String | className () const |
| bool | isInstanceOf (const std::type_info &typeinfo) const |
| virtual const std::type_info & | typeInfo () const |
Protected Attributes | |
| SQL::Connection * | __handle |
| SQLDriver * | __driver |
| bool | __connected |
Additional Inherited Members | |
| Protected Member Functions inherited from Object | |
| virtual | ~Object () |
| Object () | |
| SQLConnection::SQLConnection | ( | SQLDriver * | _driver | ) |
Definition at line 44 of file SQLConnection.cpp.
| SQLConnection::SQLConnection | ( | const String & | _driverName | ) |
Definition at line 50 of file SQLConnection.cpp.
|
virtual |
Definition at line 59 of file SQLConnection.cpp.
| bool SQLConnection::canTransact | ( | ) | const |
Definition at line 207 of file SQLConnection.cpp.
| void SQLConnection::close | ( | ) |
Definition at line 103 of file SQLConnection.cpp.
| void SQLConnection::commitTrans | ( | ) |
Definition at line 152 of file SQLConnection.cpp.
|
inline |
|
inline |
| void SQLConnection::execute | ( | const String & | _sql | ) |
Definition at line 119 of file SQLConnection.cpp.
| String SQLConnection::getServerInfo | ( | ) |
Definition at line 184 of file SQLConnection.cpp.
|
inline |
| bool SQLConnection::inTransaction | ( | ) | const |
Definition at line 174 of file SQLConnection.cpp.
| void SQLConnection::open | ( | const String & | _connstr | ) |
Definition at line 79 of file SQLConnection.cpp.
| void SQLConnection::rollbackTrans | ( | ) |
Definition at line 163 of file SQLConnection.cpp.
| void SQLConnection::startTrans | ( | ) |
Definition at line 141 of file SQLConnection.cpp.
|
protected |