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

Dynamically updating Jlist

java eclipse swing jlist

I've been reading a lot on Swing but I've hit a dead end and I know you can help me.

Real background image size in android (with status bar)

android background statusbar

I'd like to use a high detail image as backrgound in my app, and I've got a problem with my designer because of this :-D

detect windows jpeg icon

c++ windows visual-studio visual-c++

How can I detect the icon in use by windows for jpeg pictures depending on the Windows OS version (XP,,vista,7) ? by detection I mean finding the location of it and being able of using the icon fi...

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.