There's no shutdown in iBATIS, as 90% of the time the datasource is
managed by an app server.  However, you can get the DataSource
instance from the SqlMapClient, cast it and then shut it down
(assuming the datasource itself has a shutdown facility).

Cheers,
Clinton


On Mon, 20 Dec 2004 09:19:32 -0500, Mansour Raad <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> Hi, 
> 
>   
> 
> What is the proper way to shutdown sqlmap simple and dbcp datasources at the
> end of a standalone application ? 
> 
> Is there a shutdown hook ?  If so, I'm missing it !  I keep getting an EOF
> warning from PostgreSQL server. 
> 
>   
> 
> Regards, 
> 
> Mansour 
> 
> J 
> 
>

Reply via email to