We are implementing a web application based on the Liferay. The database is handled by JPA 2.0 and Entity Manager.
When the system is idle for a long period (e.g. 8 hours), the Session in the Persistance Context will be lost and the database will be out of the access. Is there any configuration which can fix this problem?