Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SQL警告代码:-1100,SQLState:02000_Sql_Hibernate_Hsqldb - Fatal编程技术网

SQL警告代码:-1100,SQLState:02000

SQL警告代码:-1100,SQLState:02000,sql,hibernate,hsqldb,Sql,Hibernate,Hsqldb,我正在使用HSQLDB(启用MVCC支持)和Hibernate。在日志文件中,我收到一些警告: [WARN i.SqlExceptionHelper] SQL Warning Code: -1100, SQLState: 02000 [WARN i.SqlExceptionHelper] no data 是否有根据警告代码和/或SQLState获取问题描述的方法 EDIT1 请尝试以下链接:SQL警告代码:-1100,SQLState:02000的唯一可用信息是“无数据” 原创 请点击以下链接

我正在使用HSQLDB(启用MVCC支持)和Hibernate。在日志文件中,我收到一些警告:

[WARN i.SqlExceptionHelper] SQL Warning Code: -1100, SQLState: 02000
[WARN i.SqlExceptionHelper] no data
是否有根据警告代码和/或SQLState获取问题描述的方法

EDIT1 请尝试以下链接:SQL警告代码:-1100,SQLState:02000的唯一可用信息是“无数据”

原创 请点击以下链接,您将能够查看描述:


@一个没有名字的马:请找到更新的答案,希望现在能有所帮助。DB2和HSQLDB都使用SQL标准状态码。因此,它们在这方面基本上是兼容的。您知道如何在不增加hibernate的SqlExceptionHelper的日志级别的情况下使用HSQLDB消除警告吗?
# SQL CODE definitions
# no data
1100=02000 no data
Table 3. Class Code 02: No Data
SQLSTATE Value   
Meaning   SQLCODE Values
02000   One of the following exceptions occurred:
The result of the SELECT INTO statement or the subselect of the INSERT statement was an empty table.
The number of rows identified in the searched UPDATE or DELETE statement was zero.
The position of the cursor referenced in the FETCH statement was after the last row of the result table.
The fetch orientation is invalid.
+100
02001   No additional result sets returned. +387