[WARN ] 2010-11-18 11:34:16,359 - org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: 24000
[ERROR] 2010-11-18 11:34:16,359 - org.hibernate.util.JDBCExceptionReporter - ResultSet may only be accessed in a forward direction.
org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
在网上搜索一番,发现我穿的参数(startIndex)值的问题。
q.setFirstResult(startIndex);
在sqlserver中,这个(startIndex)不能为负数。如果为负数回报上面的异常错误。
分享到:
相关推荐
2016-07-13 11:42:59 JRebel: WARN You are running JRebel using the -javaagent option on a system where -agentpath is supported. 2016-07-13 11:43:02 JRebel: 2016-07-13 11:43:02 JRebel: ################...
- warn:警告,提醒 - break:打破,破坏 - fight:打架,战斗 - work:工作,运行 - have:有,拥有 - own:拥有,所有 - appear:出现,显现 - remain:保持,剩余 - need:需要,必要 - require:需要...
赠送jar包:metrics-graphite-3.1.5.jar; 赠送原API文档:metrics-graphite-3.1.5-javadoc.jar; 赠送源代码:metrics-graphite-3.1.5-sources.jar; 赠送Maven依赖信息文件:metrics-graphite-3.1.5.pom;...
[http60-Processor1][org.hibernate.util.JDBCExceptionReporter][WARN] - SQL Error: 0, SQL State: 08S01 [http60-Processor1][org.hibernate.util.JDBCExceptionReporter][ERROR] - [Microsoft][SQLServer2000...
run WARN 2012-07-11 23:02:55,671 COS 218.2.129.11 入业务流跟踪表失败 run ERROR 2012-07-11 23:03:00,033 COS 218.2.129.11 本事务编码:CloseOverTimeSheet所对应的事务不存在 run WARN 2012-07-11 23:05:24,...
- 使用 `/check:bounds` 和 `/warn:argument_checking` 选项重新编译程序,以帮助识别问题。 - 检查数组索引是否正确,并确保所有指针都已正确初始化。 - 确保C语言和Fortran之间调用的参数匹配和数据类型兼容。 ...
搭建hadoop 环境时遇到启动异常告警问题 “WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable” 上来不多说,百度收集些相关...
**11. SQLP_EXT_BAD_FORMAT** - **内部返回码**:0x071000D4 - **十进制表示**:118489300 - **SQL代码**(如果适用):-902 - **描述**:扩展头中的格式无效,如文件编号、格式或签名ID等。这可能是因为文件损坏或...
util.Shell (Shell.java:(694)) - Did not find winutils.exe: {} java.io.FileNotFoundException: Could not locate Hadoop executable: E:\hadoop-3.0.2\bin\winutils.exe -see ...
### Hibernate文档概述与核心知识点 #### 一、简介 Hibernate 是一个开源的对象关系映射 (Object-Relational Mapping, ORM) 框架,用于 Java 应用程序中的数据库访问。它提供了一种机制,可以将 Java 对象映射到...
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core....
demo.service.AbstractNewsConsumer :资讯消费异常: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.transaction.TransactionManager' ...
2014-10-14 10:10:21.409 WARN 3435 --- [ main] o.s.b.a.jdbc.DataSourceInitializer : Could not send event to complete DataSource initialization (ApplicationEventMulticaster not initialized - call ' ...
- **关键字**: SQL语法中的关键字。 #### 四、文档访问 - **安装目录**: 在安装目录下的`doc`子目录可以找到各种手册和技术资料。 - **官方网站**: 访问[www.dameng.com](http://www.dameng.com)阅读或下载相关...
34. want sb. to do sth. - 想要某人做某事,例如:She wants him to apologize for his behavior. 35. warn sb. to do sth. - 警告某人做某事,例如:The teacher warned students not to cheat on exams. 36. wish...
csc /target:library /out:File2.dll /warn:0 /nologo /debug *.cs ``` - 将当前目录下的所有 `.cs` 文件编译为 `Something.xyz` 的 DLL 文件: ``` csc /target:library /out:Something.xyz *.cs ``` 通过...
当开发者在使用node-sass这个流行的Node.js库时,尤其是在Windows平台上,可能会遇到一个特定的安装问题,这个问题通常出现在尝试安装node-sass@4.14.1版本时,在执行npm的postinstall脚本阶段。...
- warn sb. to do sth.: 警告某人注意或避免做某事。 - wish sb. to do sth.: 表达希望某人能做某事。 3. **接动名词作宾语的动词** - admit doing sth.: 承认已经做了某事。 - advise doing sth.: 建议采取...
- **日志级别**:包括`verbose`(详细)、`debug`(调试)、`info`(信息)、`warn`(警告)、`error`(错误)等。 **判断题解析** - **1、√**:正确。 - **2、√**:正确。 - **3、×**:错误。 - **4、√**:...
在Java开发中,Hibernate是一个非常流行的ORM(对象关系映射)框架,它允许开发者通过面向对象的方式来操作数据库,而无需直接编写SQL语句。在这个场景中,我们将探讨如何使用Hibernate与SQL Server 2005数据库进行...