Subject | Re: [Firebird-Java] How is statement pooling working ? (2nd try) |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-08-05T13:17:59Z |
> If not, can someone please give examples for usingConnection con = getConnection(); // gets a connection from Pool.
> statement-pooling.
while(true) {
PreparedStatement ps = con.prepareStatement(some_sql);
ps.setInt(1,1);
ps.execute();
}
con close();
But I think the previous scenario should be supported too. I will not add
this to the release, but will release 1.5.1 with this feature.
Roman