ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edwin S Lukaweski" <serj...@rogers.com>
Subject DAO catch SQLexceptions
Date Sun, 04 Dec 2005 22:45:12 GMT
I am using Ibatis Data Access Objects. I cannot figure out how to catch SQLExceptions when
using methods like "group = (Group)queryForObject("getGroup", oid);"

    I wish to catch the fact that a row may not exist and report the error back to the user.
The Data Mapper seems to provide SQLExceptions bu the DAO methods do not.

    Any help would be appreciated.

Edwin
Mime
View raw message