Database connection management in Spring

Posted by ria on Stack Overflow See other posts from Stack Overflow or by ria
Published on 2010-02-12T06:15:05Z Indexed on 2010/04/01 20:33 UTC
Read the original article Hit count: 328

Filed under:
|
|

Do we have to explicitly manage database resources when using Spring Framework.. liking closing all open connections etc?

I have read that Spring relieves developer from such boiler plate coding...

This is to answer an error that I am getting in a Spring web app:

org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: ORA-00020: maximum number of processes (150) exceeded

The jdbcTemplate is configured in the xml file and the DAO implementation has reference to this jdbcTemplate bean which is used to query the database.

© Stack Overflow or respective owner

Related posts about spring

Related posts about java