Hallo Thomas,
it seems I have found a minor bug when update a column comment, see
the next code:
Class.forName("org.h2.Driver");
Connection conn = DriverManager.getConnection("jdbc:h2:mem:db1", "sa",
"");
Statement st = conn.createStatement();
st.execute("CREATE SCHEMA IF NOT EXISTS db1");
st.execute("CREATE TABLE db1.ord_order( id BIGINT PRIMARY KEY, state
VARCHAR(2))");
st.execute("COMMENT ON COLUMN db1.ord_order.id IS 'The primary
key'"); // The bug!
conn.close();
The exception says false message: Table "ORD_ORDER" not found;
This is a problem of the in-memory database only.
Regards,
Pavel
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/h2-database?hl=en.