LoggingConnectionDecorator

public LoggingConnectionDecorator()

Method Detail

setPrettyPrint

public void setPrettyPrint(boolean prettyPrint)

If set to true, pretty-print SQL by running it
through SQLFormatter.prettyPrint(java.lang.Object). If
false, don't pretty-print, and output SQL logs in
a single line. Pretty-printed SQL can be easier for a human to
read, but is harder to parse with tools like grep.