Hibernate: select count(*) from NSSI_ORG_USER u,NSSI_ORG_UNIT o where 1=1 and u.UNIT_ID = o.UNIT_ID
09:29:35,890 INFO SuperDaoImpl:241 - 通过原生SQL查询满足条件的List并分页
Hibernate: select * from ( select u.NAME as NAME10_0_,u.MOBILE as MOBILE10_0_,u.UNITTEL as UNITTEL10_0_,u.HOMETEL as HOMETEL10_0_,u.DUTY as DUTY10_0_,u.DH as DH10_0_,u.EMAIL as EMAIL10_0_,u.SEX as SEX10_0_,u.REMARK as REMARK10_0_,u.SORT as SORT10_0_,u.SFZHM as SFZHM10_0_ from NSSI_ORG_USER u,NSSI_ORG_UNIT o where 1=1 and u.UNIT_ID = o.UNIT_ID ) where rownum <= ?
09:29:35,906 INFO StringType:203 - could not read column value from result set: USER1_10_0_; 列名无效
09:29:35,906 WARN JDBCExceptionReporter:100 - SQL Error: 17006, SQLState: null
09:29:35,906 ERROR JDBCExceptionReporter:101 - 列名无效
org.hibernate.exception.GenericJDBCException: could not execute query
而且打印的sql可以查到数据哦