The most intelligent Java IDE
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Object Relational Mapping
 
RSS feed
 
New topic
Author

Ibatis queries returning null

Collin Dugas
Ranch Hand

Joined: Jul 10, 2009
Messages: 66

Hi all,

I am facing the following issue with IBatis.

Whenever the Database is down or there is a problem with the query or configuration error like resultmap containing fields that do not exist, the IBatis query returns null instead of throwing an exception.

I am not able to distinguish between a null resulting from the query returning a null and the null returned due to other issues(DB down, configuration, etc.)

It would be very helpful if anyone can tell me if its an issue with my code or if this is the designed behavior of Ibatis. Any tips would also help.

Regards,
 
jQuery in Action
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Java » Object Relational Mapping
 
RSS feed
 
New topic
JProfiler
Get rid of your performance problems and memory leaks!

.