posted 17 years ago
I have some doubts, Please look at following code
<Resource name="jdbc/databasename" auth="Container"
type="javax.sql.DataSource" username="@username" password="@password"
driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://localhost:3306/databasename?autoReconnect=true"
maxActive="8" maxIdle="2"
testOnBorrow="true"
validationQuery="select 1"
timeBetweenEvictionRunsMillis="30000"
/>
What is the purpose of the following
1)autoReconnect
2)maxActive
3)maxIdle
4)testOnBorrow
5)timeBetweenEvictionRunsMillis