CodeCharge Studio

getConnection Method (Java)

Applies to

JDBCConnection Object

Syntax

public abstract void getConnection();

Description

This method is used to obtain a connection from pool of connections. A new connection is created only if there is no free connections; otherwise connections are reused. You should call closeConnection method if there is no need to return connection to the pool.


On-line, printable versions and updates