I've been attempting to use the AutoPtr for a SessionPool, however I get the following error:
error: class 'Poco::Data:SessionPool' has no member named 'release'
sometimes I get an error for other methods such as 'duplicate' depending on what I do.
My real issue is to avoid memory leaks. I want to do this by using sessions from a global session pool. We have to share sessions between classes, so the use of ptrs is important for safe code. I see that I can use a SessionPoolContainer in 1.5, but for now we are trying to get 1.4.6 to work.