ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ohsuria@gmail.com" <ohsu...@gmail.com>
Subject Tutorial questions
Date Wed, 04 Apr 2007 15:47:43 GMT
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:

How to return the field's value from the table I select?

Thanks in advance.


View raw message