WARN (org.hibernate.jdbc.JDBCContext:333) - afterTransactionCompletion() was never called

I am using hibernate as ORM when i checked my logs (catalina.out)

I am getting this warning so many times

WARN   (org.hibernate.jdbc.JDBCContext:333) - afterTransactionCompletion() was never called

Can any one please help me to solve this warning...?

what is the meaning of that warning and when it occurs ??


In the file JDBCContext.java source file is the following comment

 * We cannot rely upon this method being called! It is only
 * called if we are using Hibernate Transaction API.

This means, the method afterTransactionCompletion() normally is called by the hibernate transaction API, for example Session.flush() or Transaction.commit(). It seems somewhere in your program it can happen a transaction is not ended regularly. We can't tell you where, because we don't know your code.

Need Your Help

Android conversion program crashes on button click

android button

Here are my files (Conversion.xml, Conversion.java and AndroidManifest.xml). It is a small part of a project. I am able to get to the screen where I want to convert the power in watts to decibels. ...

Building SharpKeeper (ZooKeeper Client for .NET)

building zookeeper pre-build-event

I've been looking for .NET version of the ZooKeeper client and I found one.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.