Subject | AW: [Firebird-Java] How is statement pooling working ? |
---|---|
Author | Steffen Heil |
Post date | 2004-08-05T16:38:50Z |
Hi
It is just returned to the pool!
Regards,
Steffen
> > while(true) {Wrong. The connection is NOT closed.
> > 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.
It is just returned to the pool!
Regards,
Steffen