I also noticed that if I use my own type(domain) this same bug appears.

CREATE DOMAIN TYPE1 INT CHECK (VALUE < 15);

CREATE TABLE TBL1 (
   COL1 TYPE1
);

is transformed by H2 to

CREATE TABLE TBL1 (
   COL1 INT CHECK (VALUE < 15)
);

And thus the same problem appears when adding a comment.

So I am eagerly waiting for the fix...
Any estimates when it would be ready?

- Rami


Thomas Mueller wrote:
Hi,

This is a bug and will be fixed in the next release. The comment needs
to be added before the check constraint.

Regards,
Thomas


--
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.

Reply via email to