Re: [DBCP] Shutting down Derby and the Pool

2010-01-19 Thread Phil Steitz
Pawan Singh wrote: > I am using PoolingDataSource. This data source does not seem to have a way of > shutting down. > Assuming you are using a o.a.c.pool.impl.GenericObjectPool as the backing pool, you can hold onto a reference to the pool and call the close method of the pool. Phil > -Pawan >

Re: [DBCP] Shutting down Derby and the Pool

2010-01-18 Thread Pawan Singh
I am using PoolingDataSource. This data source does not seem to have a way of shutting down. -Pawan On Jan 18, 2010, at 9:44 AM, Phil Steitz wrote: > Pawan Singh wrote: >> Hi >> >> I am using Apache Derby (embedded) and Apache DBCP to set up a nice pooling >> data source. My question is how t

Re: [DBCP] Shutting down Derby and the Pool

2010-01-18 Thread Phil Steitz
Pawan Singh wrote: > Hi > > I am using Apache Derby (embedded) and Apache DBCP to set up a nice pooling > data source. My question is how to close this pooling data source properly > when the application shuts down. If I am not using DBCP, I can make direct > JDBC calls on the Derby data source

[DBCP] Shutting down Derby and the Pool

2010-01-17 Thread Pawan Singh
Hi I am using Apache Derby (embedded) and Apache DBCP to set up a nice pooling data source. My question is how to close this pooling data source properly when the application shuts down. If I am not using DBCP, I can make direct JDBC calls on the Derby data source to shutdown the database - but