Skip to content
Advertisement

Tag: h2

Syntax error in SQL statement “CREATE EXTENSION[*] IF NOT EXISTS UUID_OSSP “

I’m trying to create h2 DB schema. Here is my sql And I get an error Caused by: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement “CREATE EXTENSION[*] IF NOT EXISTS UUID_OSSP “; expected “OR, FORCE, VIEW, ALIAS, SEQUENCE, USER, TRIGGER, ROLE, SCHEMA, CONSTANT, DOMAIN, TYPE, DATATYPE, AGGREGATE, LINKED, MEMORY, CACHED, LOCAL, GLOBAL, TEMP, TEMPORARY, TABLE, SYNONYM, PRIMARY, UNIQUE, HASH, SPATIAL, INDEX”;

Advertisement