[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

@@ -44,6 +44,7 @@ namespace Data {
PooledSessionImpl::PooledSessionImpl(PooledSessionHolder* pHolder):
SessionImpl(pHolder->session()->connectionString()),
_pHolder(pHolder, true)
{
}
@@ -113,6 +114,12 @@ void PooledSessionImpl::close()
}
const std::string& PooledSessionImpl::connectorName()
{
return access()->connectorName();
}
void PooledSessionImpl::setFeature(const std::string& name, bool state)
{
access()->setFeature(name, state);