May 19th, 2012, 05:46 AM
JDBCtemplate performance concern
In my application I have option to use either :
jdbctemplate.queryForObject() or jdbctemplate.execute(PreparedStatementCreator..)
I know internally queryForObject uses PreparedStatementCreator
What I would like to know is about the performance impact of each.
To me if queryForObject is used it will be using less lines of code than PreparedStatementCreator
May 21st, 2012, 01:49 AM
There isn't (unless it is very minimal) spring will simply take that burden from you.
Tags for this Thread