Subject Re: [Firebird-Java] How is statement pooling working ?
Author Roman Rokytskyy
> my question:
> Is the PreparedStatement in the following code somehow reused ?
> while(true) {
> Connection con = getConnection(); // gets a connection from Pool.
> PreparedStatement ps = con.prepareStatement(some_sql);
> ps.execute();
> con close();
> }

No, when you close the connection, prepared statement pool is released...
Hmmm... I think I want to correct this.

Roman