On 16/05/2011 13:33, Vlad Khorsun wrote:
> So, if code calls attach\release - this is bug, as for me, and i see 
> no reasons
> to write code in this way intentionally. I consider at as very bad practice 
> as it
> could lead to the inexpected side effects (such as implicit rollback).
>
Now every provider class has a way to "release" with another methods, 
but take into account that release is base method.

But what about different release-able classes? Are you going to add 
additional methods to release them, cause release is only for addRef?


Adriano


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to