Hey,

I have encountered an new issue with "FOR UPDATE"-statements in the latest 
version of H2 *1.4.199*.

It seems like the "SELECT_FOR_UPDATE_MVCC" option has been removed.
Unsupported connection setting "SELECT_FOR_UPDATE_MVCC" [90113-199]

The following query was supported in *1.4.197*
select coalesce(max(r.sequence) + 1, 1) from <table> r where r.report_id = ? 
for update [90145-199]


In *1.4.199* we retrieve an exception.
The stacktrace
Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: FOR UPDATE is not 
allowed in DISTINCT or grouped select; SQL statement:

Why was the option removed, and are there any known workarounds?

Regards
Nicklas

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to