I am new to Spring and I was looking at the v1.1.2 JdbcTemplate source and it looks like PreparedStatements are closed after every execution and then recreated the next time the statement is going to be executed. Is this correct? If so, can someone explain the motivation behind closing the statement after using it once. I would like to reuse the PreparedStatement for the next set of parameters if possible, is there someway to do this in Spring? Thank you for any help you can provide.
Announcement Announcement Module
No announcement yet.
PreparedStatements Page Title Module
Move Remove Collapse