queryGenerator.setParameter(AbstractResource.ConfigurationConstants.CONFIG_KEY, configkey);
queryGenerator.setParameter(AbstractResource.ConfigurationConstants.CONFIG_VAL, configValue);
if(isConfigurationExists(configkey, configValue)){
EntityManager em = getEntityManager();
em.getTransaction().begin();
Query q = queryGenerator.deleteQuery(em);
q.executeUpdate();
em.getTransaction().commit();
em.close();
}
}