hi
i read that i should use PingQuery
what is it? how does it work? and how should i use it?
deligeli wrote:
>
> hi
>
> my code is like that:
>
> public Clip getVideoById(String videoId) throws SQLException{
> return (Clip) sqlMapper.queryForObject("getVideoById",videoId);
> }
>
> how can i make sure that the connection to the database is valid and if
> not to open it?
>
--
View this message in context:
http://old.nabble.com/check-if-a-connection-is-valid-in-IBatis-tp26217372p26219832.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]