Comments on: iBatis PaginatedList and pagination http://hasan.we4tech.com/2006/10/25/ibatis-paginatedlist-and-pagination/ work for fun!!! Wed, 08 Sep 2010 17:53:20 +0000 hourly 1 http://wordpress.com/ By: Imran M Yousuf http://hasan.we4tech.com/2006/10/25/ibatis-paginatedlist-and-pagination/#comment-222 Imran M Yousuf Wed, 16 Apr 2008 10:01:33 +0000 http://hasan.we4tech.com/ibatis-paginatedlist-and-pagination#comment-222 Bro if you have time have a look at the source code of PaginatedList implementation. It basically does pagination after retrieving the whole list which actually even we can do :). Bro if you have time have a look at the source code of PaginatedList implementation. It basically does pagination after retrieving the whole list which actually even we can do :) .

]]>
By: David http://hasan.we4tech.com/2006/10/25/ibatis-paginatedlist-and-pagination/#comment-220 David Wed, 29 Nov 2006 12:58:18 +0000 http://hasan.we4tech.com/ibatis-paginatedlist-and-pagination#comment-220 I get an error when putting this object into session: Errore: java.lang.IllegalArgumentException: Only java.io.Serializable, javax.ejb.EJBObject and javax.ejb.EJBHome instances can be bound to a session in a distributable web-application, not: com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList@5cc942 (class com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList). I get an error when putting this object into session:

Errore: java.lang.IllegalArgumentException: Only java.io.Serializable, javax.ejb.EJBObject and javax.ejb.EJBHome instances can be bound to a session in a distributable web-application, not: com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList@5cc942 (class com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList).

]]>
By: David http://hasan.we4tech.com/2006/10/25/ibatis-paginatedlist-and-pagination/#comment-221 David Wed, 29 Nov 2006 10:20:16 +0000 http://hasan.we4tech.com/ibatis-paginatedlist-and-pagination#comment-221 Hi, i'm using Struts to build a portled to be deployed into Oracle Portal. I'm using iBatis framework too to manage queries. Now I want to manage pagination in my search results but I have an error when I try to set into the session my paginatedList object reference (to be read in my jsp page): Action Servlet code: ----------------------------- PaginatedList myList = queryExecutor.queryForPaginatedList("myQuery", null, 10); HttpSession session=request.getSession(); session.setAttribute("myList", myList); When it executes the third line of this code I get this error: Error: java.lang.IllegalArgumentException: Only java.io.Serializable, javax.ejb.EJBObject and javax.ejb.EJBHome instances can be bound to a session in a distributable web-application, not: com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList@5cc942 (class com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList). Detail: com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:97) Cause: null How can I put in session my PaginatedList object? Many thanks for your help David Hi,
i’m using Struts to build a portled to be deployed into Oracle Portal.
I’m using iBatis framework too to manage queries.
Now I want to manage pagination in my search results but I have an error when I try to set into the session my paginatedList object reference (to be read in my jsp page):

Action Servlet code:
—————————–
PaginatedList myList = queryExecutor.queryForPaginatedList(“myQuery”, null, 10);
HttpSession session=request.getSession();
session.setAttribute(“myList”, myList);

When it executes the third line of this code I get this error:

Error: java.lang.IllegalArgumentException: Only java.io.Serializable, javax.ejb.EJBObject and javax.ejb.EJBHome instances can be bound to a session in a distributable web-application, not: com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList@5cc942 (class com.ibatis.sqlmap.engine.mapping.statement.PaginatedDataList).
Detail: com.evermind.server.http.EvermindHttpSession.setAttribute(EvermindHttpSession.java:97)
Cause: null

How can I put in session my PaginatedList object?

Many thanks for your help
David

]]>