List:MySQL and Java« Previous MessageNext Message »
From:LAFONTAINE Julien - LYO (jlafontaine@lyon-partdieu.sema.slb.com) Date:February 12 2003 3:53pm
Subject:Questions about connection and timeout with Connector/J
View as plain text  
Hi everyone,
I've got a few questions about connection in MySQL and Connector/J. It would
help me a lot if someone could give me any information.
What happens if a Connection object is left unused for a few minutes. Could
the connection possibly be lost or at least closed by a MySQL server or the
driver? Then would a SQLException be thrown when a statement is created or a
query executed on a Statement object created by this connection? It seemed
to me that the MySQL server would closed the connection after "wait_timeout"
or "interactive_timeout" seconds.


Regards

Julien
Thread
Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)12 Feb
  • Re: Questions about connection and timeout with Connector/JMark Matthews12 Feb
RE: Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)12 Feb
  • Re: Questions about connection and timeout with Connector/JMark Matthews12 Feb
  • Re: Questions about connection and timeout with Connector/JFrank Gates12 Feb
  • Re: Questions about connection and timeout with Connector/JChristopher Taylor13 Feb
    • JDBC driver?Shivani17 Feb
RE: Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)12 Feb
Re: Questions about connection and timeout with Connector/JFrank Gates12 Feb
Re: JDBC driver?Alec.Cawley17 Feb
  • RE: JDBC driver?Shivan18 Feb
RE: Questions about connection and timeout with Connector/Jjlafontaine@lyon-partdieu.sema.slb.com)26 Feb