Hibernate issue with transaction
Am getting a message in my log file sometimes that says:
12:43:34,400 WARN [SessionImpl] afterTransactionCompletion() was never called
The app is running fine but this does not look like a good message. I have a finally block after all my try/catch blocks where I open sessions. I close the session in them.
So I am not sure why I am still getting seeing this warning in the log.
session = DBUtil.getSession();
tx = session.beginTransaction();
//some code here
catch (Exception e)
Has anyone else had this and successfully fixed it?