Does this make sense?

5 views
Skip to first unread message

Rinse Lemstra

unread,
Sep 9, 2025, 10:01:53 AM (yesterday) Sep 9
to H2 Database
How to avoid this exception.  I already have the "IF NOT EXISTS" clause in the statement, still it ends with the exception  object already exists...

"java.lang.RuntimeException: object already exists: CHAT_MESSAGE"; SQL statement:
CREATE LINKED TABLE IF NOT EXISTS CHAT_MESSAGE ( 'org.h2.Driver', 'jdbc:h2:file:......

regards,

Rinse
Reply all
Reply to author
Forward
0 new messages