Samples JDK
package-info.java
1 /**
2  * If jdbcTemplate is used without transaction then nested queries will need the number of connections equal to or more then the depth of nesting
3  * 1) Create a basic data source with connection size 2.
4  * 2) Use three level nested query using jdbcTemplate
5  * 3) It will thow connectionPoolExhustedException.
6  *
7  * Second:
8  * 1) Create a basic data source with connection size 2.
9  * 2) Use three level nested query in transaction.
10  * 3) query will successfully executed.
11  */
12 package com.freemindcafe.jdbc.sample4;