H2 Exception in thread "main" org.h2.jdbc.JdbcSQLException: Method is only allowed for a query. Use execute or executeUpdate instead of executeQuery; SQL statement:

Hi all,
I am getting Exception in thread “main” org.h2.jdbc.JdbcSQLException: Method is only allowed for a query. Use execute or executeUpdate instead of executeQuery; SQL statement:
while trying to use jdbc feeder with h2 database

Is there any workaround for H2 or it is just not supported?

Thanks

I’d say that you’re trying to perform an SQL INSERT or UPDATE with the JdbcFeeder.
If so, it’s non sense. A Feeder is used to read, hence SELECT only.