Hi all I have a web application which use Hibernate to retrieve data in the database. And in the server side some execeptions come out at regular interval. Below is the exce
Hibernate connection close work like this way so you no need remove the destroy-method="close".
public synchronized void close() throws SQLException
{
close(null);
}
private void close(Throwable cause) throws SQLException
{
<--statement-->
if(cause == null)
{
invalidatingException = NORMAL_CLOSE_PLACEHOLDER;
if(logger.isLoggable(MLevel.FINEST))
logger.log(MLevel.FINEST, this + " closed by a client.", new Exception("DEBUG -- CLOSE BY CLIENT STACK TRACE"));
<--statement-->
}