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

时间:2015-09-26 07:57:47

标签: sql hibernate hsqldb

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

[WARN i.SqlExceptionHelper] SQL Warning Code: -1100, SQLState: 02000
[WARN i.SqlExceptionHelper] no data

根据警告代码和/或 SQLState 来获取问题描述是否有意义?

1 个答案:

答案 0 :(得分:1)

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

# SQL CODE definitions
# no data
1100=02000 no data

<强> ORIGINAL 请按照以下链接进行操作,您可以查看SQLSTATE的说明:

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