PostgreSQL connectivity loss in Jira DC plugin

Hi all,
There is an issue with a plugin in Jira Data Center, specifically designed for deleting issues. This plugin is intended to conduct a validation check on the database prior to initiating deletion. However, despite the inclusion of a validation query in the dbconfig.xml file, the plugin seems to be losing its connectivity to the database.

"org.ofbiz.core.entity.GenericDataSourceException: SQL Exception occurred on commit (Connection is null.)
at org.ofbiz.core.entity.jdbc.SQLProcessor.commit(
at org.ofbiz.core.entity.jdbc.SQLProcessor.smartCommit(
at org.ofbiz.core.entity.jdbc.SQLProcessor.close( "

please help us to resolve this issue.

Mohan Raj