FTW: I knew that's what you meant...because I *AM* a mind reader.
Larry
On Tue, May 6, 2008 at 7:46 PM, Nathan Maves <[EMAIL PROTECTED]> wrote:
> I an not in the "great" category yet because I fail at typing.. thank god
> for IDE's
>
> some of us**
>
>
>
> On Tue, May 6, 2008 at 7:45 PM, Nathan Maves <[EMAIL PROTECTED]> wrote:
>
> > are we to guess at what issue you are having...
> >
> >
> > some of are good, even great, minus larry but none of us are mind readers
> >
> >
> > System.out.println("ibatis5"); these types of "got here" debugging is
> worthless :)
> >
> >
> >
> >
> >
> > On Mon, May 5, 2008 at 2:35 AM, HelpMePlz <[EMAIL PROTECTED]>
> wrote:
> >
> > >
> > > Hi to All
> > >
> > >
> > >
> > > public List getBookDetails() {
> > >
> > > BooksActionForm form = new BooksActionForm();
> > >
> > >
> > > System.out.print("the ibatis program1 ");
> > >
> > > List list = new ArrayList();
> > >
> > > try {
> > >
> > > System.out.print("the ibatis program2 ");
> > >
> > > list = sqlMap.queryForList("getAllUsers",null);
> > >
> > >
> > > int bookid=form.getBookId();
> > >
> > > System.out.println("the action class id value from
> bean"+form.getBookId());
> > > String bookname=form.getBookname();
> > > String author=form.getAuthorname();
> > > String available=form.getAvailablebooks();
> > > String category=form.getCategory();
> > > String publisher=form.getPublisher();
> > > form.setBookId(bookid);
> > > form.setBookname(bookname);
> > > form.setAuthorname(author);
> > > form.setAvailablebooks(available);
> > > form.setCategory(category);
> > > form.setPublisher(publisher);
> > >
> > > System.out.println("ibatis3");
> > > System.out.println("Selected " + list.size() + "
> records.");
> > > System.out.println("ibatis4");
> > >
> > > list.add(form);
> > > for (int i = 0; i < list.size(); i++) {
> > > System.out.println("ibatis5");
> > > System.out.println(list.get(i));
> > >
> > >
> > >
> > >
> > > }
> > > System.out.println("ibatis6");
> > > } catch (SQLException e) {
> > >
> > >
> > > e.printStackTrace();
> > >
> > > }
> > >
> > > return list;
> > >
> > >
> > > }
> > >
> > >
> > >
> > > public List getBookDetails() {
> > >
> > > BooksActionForm form = new BooksActionForm();
> > >
> > >
> > > System.out.print("the ibatis program1 ");
> > >
> > > List list = new ArrayList();
> > >
> > > try {
> > >
> > > System.out.print("the ibatis program2 ");
> > >
> > > list = sqlMap.queryForList("getAllUsers",null);
> > >
> > >
> > > int bookid=form.getBookId();
> > >
> > > System.out.println("the action class id value from
> bean"+form.getBookId());
> > > String bookname=form.getBookname();
> > > String author=form.getAuthorname();
> > > String available=form.getAvailablebooks();
> > > String category=form.getCategory();
> > > String publisher=form.getPublisher();
> > > form.setBookId(bookid);
> > > form.setBookname(bookname);
> > > form.setAuthorname(author);
> > > form.setAvailablebooks(available);
> > > form.setCategory(category);
> > > form.setPublisher(publisher);
> > >
> > > System.out.println("ibatis3");
> > > System.out.println("Selected " + list.size() + "
> records.");
> > > System.out.println("ibatis4");
> > >
> > > list.add(form);
> > > for (int i = 0; i < list.size(); i++) {
> > > System.out.println("ibatis5");
> > > System.out.println(list.get(i));
> > >
> > >
> > >
> > >
> > > }
> > > System.out.println("ibatis6");
> > > } catch (SQLException e) {
> > >
> > >
> > > e.printStackTrace();
> > >
> > > }
> > >
> > > return list;
> > >
> > >
> > > }
> > >
> > >
> > >
> > > --
> > > View this message in context:
> http://www.nabble.com/list-returning--empty--array-tp17053980p17053980.html
> > > Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
> > >
> > >
> >
> >
>
>