mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
re-added customizeSession() method from 1.4.x releases
This commit is contained in:
@@ -160,6 +160,12 @@ public:
|
||||
/// Returns true if session pool is active (not shut down).
|
||||
|
||||
protected:
|
||||
virtual void customizeSession(Session& session);
|
||||
/// Can be overridden by subclass to perform custom initialization
|
||||
/// of a newly created database session.
|
||||
///
|
||||
/// The default implementation does nothing.
|
||||
|
||||
typedef Poco::AutoPtr<PooledSessionHolder> PooledSessionHolderPtr;
|
||||
typedef Poco::AutoPtr<PooledSessionImpl> PooledSessionImplPtr;
|
||||
typedef std::list<PooledSessionHolderPtr> SessionList;
|
||||
|
||||
Reference in New Issue
Block a user