Library: Data
Package: SessionPooling
Header: Poco/Data/PooledSessionImpl.h
PooledSessionImpl is a decorator created by SessionPool that adds session pool management to SessionImpl objects.
Direct Base Classes: SessionImpl
All Base Classes: SessionImpl, Poco::RefCountedObject
Member Functions: access, begin, close, commit, createStatementImpl, getFeature, getProperty, impl, isConnected, isTransaction, rollback, setFeature, setProperty
Inherited Functions: begin, close, commit, createStatementImpl, duplicate, getFeature, getProperty, isConnected, isTransaction, referenceCount, release, rollback, setFeature, setProperty
PooledSessionImpl(
    PooledSessionHolder * pHolder
);
Creates the PooledSessionImpl.
 
 Destroys the PooledSessionImpl.
 
 void begin();
See also: Poco::Data::SessionImpl::begin()
 
 void close();
See also: Poco::Data::SessionImpl::close()
 
 void commit();
See also: Poco::Data::SessionImpl::commit()
 
 StatementImpl * createStatementImpl();
 
 bool getFeature(
    const std::string & name
);
See also: Poco::Data::SessionImpl::getFeature()
 
 Poco::Any getProperty(
    const std::string & name
);
See also: Poco::Data::SessionImpl::getProperty()
 
 bool isConnected();
See also: Poco::Data::SessionImpl::isConnected()
 
 bool isTransaction();
See also: Poco::Data::SessionImpl::isTransaction()
 
 void rollback();
See also: Poco::Data::SessionImpl::rollback()
 
 void setFeature(
    const std::string & name,
    bool state
);
See also: Poco::Data::SessionImpl::setFeature()
 
 void setProperty(
    const std::string & name,
    const Poco::Any & value
);
See also: Poco::Data::SessionImpl::setProperty()
 
 SessionImpl * access();
Updates the last access timestamp, verifies validity of the session and returns the session if it is valid.
Throws an SessionUnavailableException if the session is no longer valid.
 
   
 SessionImpl * impl();
Returns a pointer to the SessionImpl.