Thanks and sorry for the OT..i thought that GWT had a "function" that permits to control the connection to the DB.. i have not the possibility to change the JDBC so i'm thinking to create an auto "refresh connection" only if there are some minutes of dead time.. But i don't know if there is something ready.. For example if the max dead time are 5 minutes i want to refresh only if ALL the 5 minutes are passed
On Tue, Apr 8, 2014 at 11:03 AM, [email protected] < [email protected]> wrote: > 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. > -- 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.
