So here's some code:
statement.executeUpdate("CREATE TABLE SomeTable(id INTEGER IDENTITY, " +
"text CLOB)");
which throws an exception "Wrong data type: CLOB in statement [...]". Is there a way to store CLOBs in Hsqldb databases? The documentation says it is. Or maybe my knowledge of SQL is so rusty that I forgot how to define them.
Try LONGVARCHAR instead of CLOB
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With