0 Replies Latest reply on Nov 27, 2007 11:54 AM by Chewiee Bakka

    How to enable SQL logging

    Chewiee Bakka Newbie

      Hi all,

      I'm using JBoss 4.2.2. GA + PostgreSQL 8.2. The PostgreSQL database is being accessed through a DataSource (*-ds.xml) which was deployed correctly.

      I am issueing SQL statements directly through JSP pages, and I would like to see the SQL commands which are being issued to the database.

      I tried changing the log file, incluidng the Hibernate category in there, but it is not working.

      Any ideas?

      Thanks in advance,

      André