hi All,
Is there anything special that I need to do to get ON CONFLICT DO NOTHING working with Postgresql? I'm using H2 2.1.210 (and I know it has been added since H2 1.4.200 in 2019) with PostgreSQL10Dialect (H2Dialect doesn't work either) but what I get is
on statement:
insert into transaction_type (transaction_type, description) values ('sometx', 'xxxxxx') ON CONFLICT DO NOTHING;
I get:
org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "insert into transaction_type (transaction_type, description) values ('sometx', 'xxxxxx') [*]ON CONFLICT DO NOTHING"; SQL statement:
insert into transaction_type (transaction_type, description) values ('sometx', 'xxxxxx') ON CONFLICT DO NOTHING [42000-210]
help?
Tom