| 1 | // |
|---|---|
| 2 | // PooledSessionHolder.cpp |
| 3 | // |
| 4 | // Library: Data |
| 5 | // Package: SessionPooling |
| 6 | // Module: PooledSessionHolder |
| 7 | // |
| 8 | // Copyright (c) 2006, Applied Informatics Software Engineering GmbH. |
| 9 | // and Contributors. |
| 10 | // |
| 11 | // SPDX-License-Identifier: BSL-1.0 |
| 12 | // |
| 13 | |
| 14 | |
| 15 | #include "Poco/Data/PooledSessionHolder.h" |
| 16 | |
| 17 | |
| 18 | namespace Poco { |
| 19 | namespace Data { |
| 20 | |
| 21 | |
| 22 | PooledSessionHolder::PooledSessionHolder(SessionPool& rOwner, SessionImpl* pSessionImpl): |
| 23 | _owner(rOwner), |
| 24 | _pImpl(pSessionImpl, true) |
| 25 | { |
| 26 | } |
| 27 | |
| 28 | |
| 29 | PooledSessionHolder::~PooledSessionHolder() |
| 30 | { |
| 31 | } |
| 32 | |
| 33 | |
| 34 | } } // namespace Poco::Data |
| 35 |