3 Replies Latest reply on Oct 11, 2007 11:16 PM by Andrew Rubinger

    How to print SQL values in debug Log

    Terry Apprentice


      Does anyone know, how to print values of SQL in the output log?

      I am using RHDS Beta 1 with all defaults, and JBoss AS 4.2.0. Setting hibernate.type" to "debug" or "true" in persistence.xml doesn't do anything.

      Also is it possible to somehow beautiful the SQL output by hibernate? it is so unreadable by default.