> Referencing the column like this:
>
> id = resultSet.getString("getNextIdAndUpdate");
>
> Is not going to work when the column is named this:
>
> PUBLIC.GETNEXTIDANDUPDATE()
Ah, I guess the main problem is the "()" at the end. I didn't see that
first, sorry.
Could you change the query to:
SELECT getNextIdAndUpdate() AS getNextIdAndUpdate
Regards,
Thomas
I was under the impression that the purpose of a "compatibility mode" was to make the product more compatible and to better support the syntax of a specific RDBMS. Why would adding this change under the PostgreSQL compatibility mode affect MySQL?
-Joe
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/IFVB7JPU99cJ.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.