急!!mybatis 参数解析不了 ERROR: LIMIT #,# syntax is not supported
org.springframework.jdbc.BadSqlGrammarException:###Errorqueryingdatabase.Cause:org.po...
org.springframework.jdbc.BadSqlGrammarException:
### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: LIMIT #,# syntax is not supported
### The error may exist in usertracker/introns/persistence/data/CurrentUserMapper.xml
### The error may involve usertracker.introns.persistence.data.CurrentUserMapper.selectPartFieldAndLimit-Inline
### The error occurred while setting parameters
### SQL: select siteid, year, day, sessionid, referce, searcher, keywords, referceurl, ismobile, os, browser, java, cookie, ip, country, province, city, net, pv, pages, visits, isnew_visitors, lasttime, starttime, starturl, endtime, endurl, nodeid from ut_current_user Limit ?,?
### Cause: org.postgresql.util.PSQLException: ERROR: LIMIT #,# syntax is not supported
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: LIMIT #,# syntax is not supported
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:233)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:71)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:364)
at com.sun.proxy.$Proxy6.selectList(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:194)
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:114)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) 展开
### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: LIMIT #,# syntax is not supported
### The error may exist in usertracker/introns/persistence/data/CurrentUserMapper.xml
### The error may involve usertracker.introns.persistence.data.CurrentUserMapper.selectPartFieldAndLimit-Inline
### The error occurred while setting parameters
### SQL: select siteid, year, day, sessionid, referce, searcher, keywords, referceurl, ismobile, os, browser, java, cookie, ip, country, province, city, net, pv, pages, visits, isnew_visitors, lasttime, starttime, starturl, endtime, endurl, nodeid from ut_current_user Limit ?,?
### Cause: org.postgresql.util.PSQLException: ERROR: LIMIT #,# syntax is not supported
; bad SQL grammar []; nested exception is org.postgresql.util.PSQLException: ERROR: LIMIT #,# syntax is not supported
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:233)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:71)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:364)
at com.sun.proxy.$Proxy6.selectList(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.selectList(SqlSessionTemplate.java:194)
at org.apache.ibatis.binding.MapperMethod.executeForMany(MapperMethod.java:114)
at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:58) 展开
2个回答
网易云信
2023-12-06 广告
2023-12-06 广告
UIkit是一套轻量级、模块化且易于使用的开源UI组件库,由YOOtheme团队开发。它提供了丰富的界面元素,包括按钮、表单、表格、对话框、滑块、下拉菜单、选项卡等等,适用于各种类型的网站和应用程序。UIkit还支持响应式设计,可以根据不同...
点击进入详情页
本回答由网易云信提供
2014-04-10
展开全部
那两个#换成数字,如 0,10
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询