@Koala_考拉 你好,想跟你请教个问题:Hibernate: select count(*) as col_0_0_ from AMST_USER_INFO user0_ where 1=1
Hibernate: select * from ( select user0_.LOB_NUMBER as LOB1_4_, user0_.BUDU as BUDU4_, user0_.BUG as BUG4_, user0_.CREATE_BY as CREATE4_4_, user0_.CREATION_DATE as CREATION5_4_, user0_.DD as DD4_, user0_.DS as DS4_, user0_.EMAIL as EMAIL4_, user0_.EMPLOYEE_NUMBER as EMPLOYEE9_4_, user0_.GP_NAME as GP10_4_, user0_.HIRE_DATE as HIRE11_4_, user0_.job_Name as job12_4_, user0_.JOB_TYPE as JOB13_4_, user0_.LAST_NAME as LAST14_4_, user0_.LAST_UPDATE as LAST15_4_, user0_.LAST_UPDATE_BY as LAST16_4_, user0_.LOB as LOB4_, user0_.PROBATION_END_DATE as PROBATION18_4_, user0_.REGION_ID as REGION19_4_, user0_.SEX as SEX4_ from AMST_USER_INFO user0_ where 1=1 ) where rownum <= ?
12:29:05,561 WARN [SqlExceptionHelper] SQL Error: 17059, SQLState: null
12:29:05,562 ERROR [SqlExceptionHelper] 无法转换为内部表示
当我把sql单独拿出来执行是没有错误的
根据把代码拆分debug定位发现是是调用pageList()这个方法时报错
你这个代码不是CRUD生成出来的吧?这代码修改了哪里<divclass='ref'>
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。