Re: "Broken Pipe" in JDBC due session autorefresh
Posted by: Filipe Silva
Date: April 02, 2018 12:48PM

Hi Ekaterina,

I'm no expert in C3P0 or Hibernate, but you should be able to configure a validation query the framework use to keep connections alive.
Such validation query could be something like "/* ping */ SELECT 1"

See also https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-usagenotes-j2ee-concepts-connection-pooling.html

IHTH

Options: ReplyQuote


Subject
Written By
Posted
Re: "Broken Pipe" in JDBC due session autorefresh
April 02, 2018 12:48PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.