Trying to execute prepared SQL statement with H2 DB in memory. Receive syntax error:
org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "INSERT INTO task7schema.courses (course_name) VALUES (?) returning[*] course_id;"; SQL statement:
INSERT INTO task7schema.courses (course_name) VALUES (?) returning course_id; [42000-200]
Can not figure out what's wrong with syntax. Any help appreciated.