[SF 2505290] DB connection as URI (MySQL not tested!)

This commit is contained in:
Aleksandar Fabijanic
2009-01-13 19:51:48 +00:00
parent 8abc90f989
commit b38f5ce99c
25 changed files with 199 additions and 47 deletions

View File

@@ -78,6 +78,9 @@ public:
bool isTransaction();
/// Returns true iff a transaction is a transaction is in progress, false otherwise.
const std::string& connectorName();
/// Returns the name of the connector.
void setConnected(const std::string& name, bool value);
bool getConnected(const std::string& name);
/// Sets/gets the connected property.
@@ -90,9 +93,10 @@ public:
Poco::Any getP(const std::string& name);
private:
bool _f;
Poco::Any _p;
bool _connected;
bool _f;
Poco::Any _p;
bool _connected;
std::string _connectionString;
};