Hi Devs, In apache airavata project[1], we are using apache openJPA as the layer in front of our database. We have clients which run scientific jobs using apache airavata project and these jobs can be idle for several hours. In our openJPA configuration we are maintaining a connection pool. But it seems connection gets lost after several hours of idle time. Is there any property that we can maintain from openJPA configuration to make sure connection will not be lost after several hours of idle time ?
FYI, I'm listing the openJPA configuration [2] and how the properties[3] ingested from a java class. Thanks and Regards, Chathuri [1] http://airavata.apache.org/ [2] https://svn.apache.org/repos/asf/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/resources/META-INF/persistence.xml [3] https://svn.apache.org/repos/asf/airavata/trunk/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/ResourceUtils.java
