Forum OpenACS CMS: Re: ns_dbi and ns_db together
2: Re: ns_dbi and ns_db together (response to 1)
Posted by Gustaf Neumann on 02/15/23 06:12 PM
A good idea? no. Possible? yes.
I think mixing these interfaces should work pretty well up to a point, where e.g. nested transaction (some ns_db and some dbi transactions) are used. Not sure about the semantics in such cases.
Note that ns_cache_transaction_rollback is just implemented for the OpenACS nsdb interface (undo cache operations that happened during a transaction).
For heavy OpenACS work, nsdb is recommended.