Hello. H2 2.0 allows up to 1048576 characters for this data type: https://h2database.com/html/datatypes.html#character_varying_type For larger values you need to use CLOB: https://h2database.com/html/datatypes.html#character_large_object_type
Please note that PreparedStatement.setString() and ResultSet.getString() cannot be used to set or read large CLOB value. You need to use methods with java.sql.Clob or java.util.Reader / java.util.Writer. -- 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 on the web visit https://groups.google.com/d/msgid/h2-database/1e3cd1b5-a0f2-4c83-b33d-9b67ee64d582n%40googlegroups.com.
