I am using iBatis (2.5) with DB2 version 8.x and Spring 2.5. Is there any issue in querying a view (as opposed to table)? It is a very simple select as:
org.impl.CodeBean is a simple POJO with
String attributes only with public getter and setter. StringTrimTypeHandler are custom code written.
My SQL are working when I am using table, as opposed to View.
When I call the above findAll from
JUnit for View, I get exception as:
I must be missing something.
Query from View is supported in iBatis, correct?