Closed GoogleCodeExporter closed 8 years ago
need to handle:
alter table test add constraint fk_test foreign key (pid) references test (id)
index xfk_test;
must be:
alter table test add constraint fk_test foreign key (pid) references test (id)
index xPk_test;
NullPointerException, is hard to understand :).
Original comment by victor.n...@gmail.com
on 17 Feb 2012 at 3:20
The "index xfk_..." at the end of the statement is not part of the official
syntax - see http://h2database.com/html/grammar.html#referential_constraint
However there should be no exception of course.
Original comment by thomas.t...@gmail.com
on 23 Feb 2012 at 7:19
Should be fixed in H2 version 1.3.165.
Original comment by thomas.t...@gmail.com
on 18 Mar 2012 at 5:36
Original issue reported on code.google.com by
victor.n...@gmail.com
on 17 Feb 2012 at 2:30