Hi all,
I am trying to develop a web using jsp and ibatis.
I am new for this environment so this would be a tutorial question ;).
I use jsp and AbatorForEclipse1.0 for the code generation.
it creates crud classes.
but I cannot find the class for queries all records from the table.
May I use SelectByExample()?
when I try this code:
myTableExample objExample = new myTableExample();
list = myTableDAO.selectByExample(objExample);
out.println("Selected " + list.size() + " records.<br><br>");
for (int i=0; i < list.size(); i++) {
out.println(list.get(i) + "<br>");
}
it returns:
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
How to return the field's value from the table I select?
Thanks in advance.
OHSuria