>>Nadya,
>>
>>Your first message said that the problem occurred after some changes of yours. So I guess there's a problem with the changes you've made. I would look there first since it used to work, didn't it ?
>
>All I did was to change the sequence of managers and not instantiating managers we're not using. I suspect one of these managers actually set database. Anyway, I think the proper way would be to always use database prefix to avoid ambiguity.
I'm not that keen on database prefixes. Setting the db in the app object (see your answer to Olaf) is imo better
On the other hand, SPs should switch to (and back on exit) their db if necessary
Gregory