我正在使用HSQLDB(啓用MVCC支持)以及Hibernate。在日誌文件中我得到一些警告:SQL警告代碼:-1100,SQLState:02000
[WARN i.SqlExceptionHelper] SQL Warning Code: -1100, SQLState: 02000
[WARN i.SqlExceptionHelper] no data
是否有一個平均,以獲得問題的基礎上,警告代碼和/或的SQLState的描述?
我正在使用HSQLDB(啓用MVCC支持)以及Hibernate。在日誌文件中我得到一些警告:SQL警告代碼:-1100,SQLState:02000
[WARN i.SqlExceptionHelper] SQL Warning Code: -1100, SQLState: 02000
[WARN i.SqlExceptionHelper] no data
是否有一個平均,以獲得問題的基礎上,警告代碼和/或的SQLState的描述?
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
HSQLDB不是DB2 –
@a_horse_with_no_name:請找到更新後的答案,希望現在能幫上忙。 –
DB2和HSQLDB都使用SQL標準狀態代碼。所以他們在這方面基本兼容。 – fredt
你知道如何擺脫HSQLDB的警告而不增加hibernate的SqlExceptionHelper的日誌級別嗎? –