Hi Davide,

this is not really a GWT related question. However, you should figure out 
what is actually causing the disconnect. The typical approach in Java is to 
use a DB connection pool like c3p0 or commons-dbcp. Some drivers like 
oracle also come with their own pool implementation. IMHO also the new JDBC 
model supports it but that may be not available to todays production 
setups. The Springframework offers nice and seamless integration of 
connection pooling with other aspects such as JPA.

Cheers
  Jörg

Am Dienstag, 8. April 2014 08:23:57 UTC+2 schrieb Davide Micheletti:
>
> Hi all, i'm developing an application that can stay without actions for 
> some minutes/hours.. The problem is that after some minutes the server (or 
> the DB) disconnects from the DB (or the server).. So how can i catch this 
> disconnection from DB? And what can i do to solve it?
>
> Thanks..
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to