pretty printing SQL statements in Java
659140Jun 11 2009 — edited Jun 22 2009Hello,
Environment: Oracle 10g (no prepared statements) and WebLogic 10 using WL's connection pooling.
We have dynamically generated SQL in our Java code and currently print the SQL to our (log4j) logger as one long Java String. Does Oracle offer a method call to better format the SQL prior to calling the logger to log the SQL?
Thanks,
Jim