hibernate envers throws PersistenceException from time to time
I am using hibernate envers for fields changes auditing. hibernate envers throws PersistenceException from time to time. Only k8s pod restarting helps with it. So the bug is regular, but happens not often (several times in a month).
Response body:
"status": 500,
"error": "Internal Server Error",
"message": "PersistenceException",
"path": "/api/bookinglegs/47449a96-a63f-40d0-9111-9d84eb1530ef/history",
"code": "internal_server_error"