I wanted to see what the exact SQL statement issued by hibernate.
I've done the following:
1. put p6spy.jar into my build path
2. point data source to p6spy driver in my spring config
3. put spy.properties in root classpath containing one line only (realdriver)
but nothing changed. the parameters are still displayed as question marks. what's wrong?
thanks
okay, got it working. apparently you just need to restart the PC. dunno why, but it works now. But now, I got 2 more problems:
1. How do I exclude those resultsets from being logged. It's really cluttering my log files
2. How do I log only the effective SQL?
thanks