Library: Data/MySQL
Package: MySQL
Header: Poco/Data/MySQL/Connector.h
Connector instantiates MySQL SessionImpl objects.
Direct Base Classes: Poco::Data::Connector
All Base Classes: Poco::Data::Connector
Member Functions: createSession, registerConnector, unregisterConnector
Inherited Functions: createSession
Connector();
Creates the Connector.
virtual ~Connector();
Destroys the Connector.
virtual Poco::AutoPtr < Poco::Data::SessionImpl > createSession(
const std::string & connectionString
);
Creates a MySQL SessionImpl object and initializes it with the given connectionString.
static void registerConnector();
Registers the Connector under the Keyword Connector::KEY at the Poco::Data::SessionFactory.
static void unregisterConnector();
Unregisters the Connector under the Keyword Connector::KEY at the Poco::Data::SessionFactory.
static std::string KEY;