In the past a used p6spy to log all SQL statements to a file for
debugging purposes. P6spy even writes the value of binding variables
(the ? in prepared statements)
Is it possible to do the same with glassfish? -> this would be a great
feature and help to monitor caching behavior and monitoring,
cheers,
adam bien