My standalone application uses Spring JDBC.
In System.out
Mar 28, 2013 6:42:12 PM org.springframework.jdbc.core.JdbcTemplate extractReturnedResults INFO: Added default SqlReturnUpdateCount parameter named #update-count-1
How to prevent these logs?
I circumvented this by skipping unannounced results that I still don't need
JdbcTemplate jt = new JdbcTemplate(dataSource); jt.setSkipUndeclaredResults(true);
You can write a function call in the following format:
Select function_name(args) from dual;
Using the above query, you can use any mapping function in JdbcTemplate
Hope this helps you solve the problem.