Do you have some other object that is not a LINKED TABLE that has the name "CHAT_MESSAGE" ?
On Tue, 9 Sept 2025 at 16:02, Rinse Lemstra <[email protected]> wrote: > 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 > > -- > You received this message because you are subscribed to the Google Groups > "H2 Database" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/h2-database/70a13aea-ae6c-4d0e-b202-d435a939cbfen%40googlegroups.com > <https://groups.google.com/d/msgid/h2-database/70a13aea-ae6c-4d0e-b202-d435a939cbfen%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/h2-database/CAFYHVnUHoRAsYF8b1r4powwx9_-7ydKUtURBrRqCdF1v72T2Gg%40mail.gmail.com.
