Thank you for your fast answer. Unfortunatelly your solution didn't help. Where should I put the hibernate.properties or hibernate.cfg.xml files ? I tried to put them into lib dirs, WEB-INF/classes but it didn't help at all (I have impression that hibernate doesn't read those files).
Going by your first post, i assumed that you already have a hibernate.properties(or hibernate.cfg.xml) in your application. Isn't that the case? The Hibernate logs that you posted, are they from your application?
Joined: Jul 22, 2005
Thanks a lot for your help. I solved the issue. What I had to do is to set the show_sql property in persistence.xml file of my project.