2011-8-26 17:33:14 gain.dal.impl.PageDaoImpl getCount
严重: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'wehre b.ed=1' at line 1
2011-8-26 17:33:14 gain.dal.impl.ManageDaoImpl queryManage
严重: FUNCTION querManagePage does not exist
2011-8-26 17:33:14 gain.utility.PrintUtil printObject
信息: 分页对象
2011-8-26 17:33:14 gain.utility.PrintUtil printObject
信息: gain.utility.page.PageSimpleTag@1af9e98[uri=<null>,currentPage=1,pageSize=8,totalResults=-1,parentTag=<null>,jspContext=<null>,jspBody=<null>]
2011-8-26 17:33:14 gain.utility.PrintUtil printRawList
信息: 分页集合
2011-8-26 17:33:14 gain.utility.PrintUtil printRawList
信息: 集合中没有元素-------------------------------------------------------------

解决方案 »

  1.   

    SQL语句错了。打印出来看看。
    querManagePage 这是什么东西? 在哪定义的
      

  2.   

    FUNCTION querManagePage does not exist
    这个函数有问题
      

  3.   

    BEGIN
     set @s_sql=concat('select * from administrator l  l.ed=1 ',filter,' limit ',currPage,' , ',pageSize);
    PREPARE stmt1 from @s_sql;
       EXECUTE stmt1;
       deallocate prepare stmt1;
    END参数:pageSize int,currPage int,filter varchar(500) character set utf8用的是mysql 存储过程
      

  4.   

    汗 SQL写错了  自己把SQL搞出来去数据库运行下