7 this->_pSession =
new Poco::Data::Session(Poco::Data::SessionFactory::instance().create(KEY, dbConnString.c_str()));
15 Poco::Mutex::ScopedLock lock(this->mutex);
16 if (!this->_pSession.isNull() && this->_pSession->isConnected() ==
true) {
17 this->_pSession->close();
25 Poco::Mutex::ScopedLock lock(this->mutex);
26 return this->_pSession->isConnected();