I am in the process of moving my data access layer over to the Spring framework, instead of just making the jdbc calls myself.
I am using JDK1.5 and Mysql5.0 for my development and testing.
It appears that my program now spends about 91% of the time in JdbcTemplate.query and that seems to be an inordinate amount of time.
Should I take a large performance penalty by moving my program to the Spring Framework? Time is very important to my app, so if it will be a lot slower then I may have to go back to a pre-Spring version.
I am also using JProfiler to profiler my unit tests.