MySQL JDBC Tip Of The Day

Want to debug a PreparedStatement with the values that are passed to it? Using the MySQL Connector/J 3.0+?

Do this:


Or use your favorite logging engine, etc.

How the hell I've missed this up until now is a mystery. Please comment if this is news to you so I don't feel like a total dork...


< Previous         Next >