Hello Joao,
 You can also break on method entry in that case. Even for every method in
DBUserManager. Indeed we are expecting that you have a connection pool set,
otherwise it is true that  a lot of connections to the database will be
made. I don't see this changing in the codebase but if you cannot use a pool
(even the internal one provided by some drivers ,e.g. oracle) and you are
using java 6 drivers you might use your own UserManager which calls isValid
in order to detect closed connections (although I do not know if this method
will be available / reliable).






2009/1/11 João Alberto Pereira de Araújo <[email protected]>

> Hi Niklas.
> It seems that the code don't go that far, since it didn't stop at that
> breakpoint. For my notice i think that the code try to connect to the
> database every time a command it's send. So i think that it's a problem of
> getConnection() everytime. But i will try some changes and i give further
> notice about it.
> P.S. When i tried the MySql it happears an error that says the connection
> was shuted down. I think that all the problems related to athenticate users
> by BD it's caused bay that.
> Best Regards.
> João Araújo.
>

Reply via email to