当我使用 hibernate (4.2.3.Final) 在内存模式下对 hsqldb (1.8.0.7) 运行查询时,出现以下异常
java.sql.SQLException: Unexpected token: FOR in statement [SELECT *
FROM MYTABLE where ID=? FOR UPDATE NOWAIT] at
org.hsqldb.jdbc.Util.throwError(Unknown Source) at
org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source) at
org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source) at
...
hsqldb 是否支持从更新中选择?