I opened an issue <https://github.com/h2database/h2database/issues/3559> 
because I don't have any solution to this problem...

Le jeudi 23 juin 2022 à 17:38:08 UTC+2, prrvchr a écrit :

>
> Hi,
>
> H2 seems not to follow the JDBC specs and throws an exception when calling 
> the ResultSet.cancelRowUpdates() 
> <https://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html#cancelRowUpdates()>
>  
> method, if no updates have been made, with the following message:
>
>
>
>
>
>
>
>
> *org.h2.jdbc.JdbcSQLNonTransientException: No data is available 
> [2000-212]        at 
> org.h2.message.DbException.getJdbcSQLException(DbException.java:497)        
> at org.h2.message.DbException.getJdbcSQLException(DbException.java:477)    
>     at org.h2.message.DbException.get(DbException.java:223)        at 
> org.h2.message.DbException.get(DbException.java:199)        at 
> org.h2.message.DbException.get(DbException.java:188)        at 
> org.h2.jdbc.JdbcResultSet.cancelRowUpdates(JdbcResultSet.java:3437)        
> at 
> io.github.prrvchr.uno.sdbc.ResultSetBase.cancelRowUpdates(ResultSetBase.java:560)*
>
> This method as well as *moveToInsertRow()* is called by Base to ensure 
> the availability of interfaces and to consider the ResultSet as updatable.
>
> Thank you for your help.
>
> Tested with H2 version 2.1.212
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/a7f273ac-9c1a-46d4-82f4-cea9fa855dc4n%40googlegroups.com.

Reply via email to