?
=?ISO-8859-1?Q?Eduardo_Y=E1=F1ez_Parareda?=
Hi,
when the connection to a DB is open, when you get the Statement or when you execute it?
ie.:
Statement stmt = StatementProvider.getStatement();
ResultSet rs = stmt.executeQuery("select 1");
rs = stmt.executeQuery("select 1");
rs = stmt.executeQuery("select 1");
Does this code mean 3 opened connection or only one (getStatement)?
when the connection to a DB is open, when you get the Statement or when you execute it?
ie.:
Statement stmt = StatementProvider.getStatement();
ResultSet rs = stmt.executeQuery("select 1");
rs = stmt.executeQuery("select 1");
rs = stmt.executeQuery("select 1");
Does this code mean 3 opened connection or only one (getStatement)?