ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Graceful Shutdown
Date Mon, 20 Dec 2004 14:25:41 GMT
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 <mraad23@earthlink.net> 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 
> 
>

Mime
View raw message