`
lihao
  • 浏览: 26590 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

[WARN ] 2010-11-18 11:34:16,359 - org.hibernate.util.JDBCExceptionReporter - SQL

阅读更多
[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)不能为负数。如果为负数回报上面的异常错误。
分享到:
评论

相关推荐

    jrebel6.4.3破解独立java程序可用版本

    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: ################...

    杭州专版2020中考英语复习方案分类默写05日常活动试题人教新目标版

    - warn:警告,提醒 - break:打破,破坏 - fight:打架,战斗 - work:工作,运行 - have:有,拥有 - own:拥有,所有 - appear:出现,显现 - remain:保持,剩余 - need:需要,必要 - require:需要...

    metrics-graphite-3.1.5-API文档-中英对照版.zip

    赠送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;...

    Hibernate+c3p0连接池SQLServer 2000

    [http60-Processor1][org.hibernate.util.JDBCExceptionReporter][WARN] - SQL Error: 0, SQL State: 08S01 [http60-Processor1][org.hibernate.util.JDBCExceptionReporter][ERROR] - [Microsoft][SQLServer2000...

    COS——R.log

    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,...

    fortran常见错误及其原因

    - 使用 `/check:bounds` 和 `/warn:argument_checking` 选项重新编译程序,以帮助识别问题。 - 检查数组索引是否正确,并确保所有指针都已正确初始化。 - 确保C语言和Fortran之间调用的参数匹配和数据类型兼容。 ...

    Hadoop 启动WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using

    搭建hadoop 环境时遇到启动异常告警问题 “WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable” 上来不多说,百度收集些相关...

    DB2 V8.1错误代码

    **11. SQLP_EXT_BAD_FORMAT** - **内部返回码**:0x071000D4 - **十进制表示**:118489300 - **SQL代码**(如果适用):-902 - **描述**:扩展头中的格式无效,如文件编号、格式或签名ID等。这可能是因为文件损坏或...

    hadoop-3.0.0 win工具包 hadoop.dll winutils.exe

    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文档概述与核心知识点 #### 一、简介 Hibernate 是一个开源的对象关系映射 (Object-Relational Mapping, ORM) 框架,用于 Java 应用程序中的数据库访问。它提供了一种机制,可以将 Java 对象映射到...

    struts2驱动包

    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....

    kafka事务+DB事务企业级应用是怎么处理这俩个事物SpringBoot管理事务管理的报错信息

    demo.service.AbstractNewsConsumer :资讯消费异常: org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type 'org.springframework.transaction.TransactionManager' ...

    spring-boot-db-initialization-test:测试用例,显示未初始化数据库以进行测试的错误

    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 ' ...

    DM7_dmlcvt使用手册

    - **关键字**: SQL语法中的关键字。 #### 四、文档访问 - **安装目录**: 在安装目录下的`doc`子目录可以找到各种手册和技术资料。 - **官方网站**: 访问[www.dameng.com](http://www.dameng.com)阅读或下载相关...

    英语词汇固定搭配.doc

    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...

    VS 2008快捷键大全

    csc /target:library /out:File2.dll /warn:0 /nologo /debug *.cs ``` - 将当前目录下的所有 `.cs` 文件编译为 `Something.xyz` 的 DLL 文件: ``` csc /target:library /out:Something.xyz *.cs ``` 通过...

    完美解决node-sass@4.14.1 postinstall: `node scripts/build.js` 问题

    当开发者在使用node-sass这个流行的Node.js库时,尤其是在Windows平台上,可能会遇到一个特定的安装问题,这个问题通常出现在尝试安装node-sass@4.14.1版本时,在执行npm的postinstall脚本阶段。...

    17年中高考英语固定搭配短语大全.doc

    - warn sb. to do sth.: 警告某人注意或避免做某事。 - wish sb. to do sth.: 表达希望某人能做某事。 3. **接动名词作宾语的动词** - admit doing sth.: 承认已经做了某事。 - advise doing sth.: 建议采取...

    《Android移动应用基础教程》-习题答案.docx编程资料

    - **日志级别**:包括`verbose`(详细)、`debug`(调试)、`info`(信息)、`warn`(警告)、`error`(错误)等。 **判断题解析** - **1、√**:正确。 - **2、√**:正确。 - **3、×**:错误。 - **4、√**:...

    使用hibernate对sqlserver 2005进行增删改查

    在Java开发中,Hibernate是一个非常流行的ORM(对象关系映射)框架,它允许开发者通过面向对象的方式来操作数据库,而无需直接编写SQL语句。在这个场景中,我们将探讨如何使用Hibernate与SQL Server 2005数据库进行...

Global site tag (gtag.js) - Google Analytics