[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Another thread runs exclusively already." exception
Falko Braeutigam wrote:
> Sorry but I dont know if I got this right: you get this exception if only ONE
> transaction/thread is running?
>
No, if more than one is run,
>
>
> There is no public API to query the users. Of course there is an API but this
> is intented to be used from adim tools only.
>
O.K., that was just what was put in. The actual code is:
User u = adb.findUser(username);
adb is a dbadmin client.
>
> The comment say: race conditions - but right now I don't see the problem.
> Please try the commented code.
>
I'll try it and see what happens.