]> source.dussan.org Git - iciql.git/commit
Added drop reference table test (fails on H2)
authorJames Moger <james.moger@gmail.com>
Mon, 15 Oct 2012 16:17:02 +0000 (12:17 -0400)
committerJames Moger <james.moger@gmail.com>
Mon, 15 Oct 2012 16:17:02 +0000 (12:17 -0400)
commit6d3704b7bad4732a289c0be68e8f18a1fdf8abac
treefd4e7153189aba4af06859d1d31dce5cb31f3c93
parentef95be59dbd124ee07d195ef3706e1daaa25f768
Added drop reference table test (fails on H2)

Unfortunately, it looks like H2 1.3.168 has a bug which allows you to
drop a table even though there are active constraints referencing it.
HSQL, Derby, MySQL, and PostgreSQL all throw a constraint violation
exception, as expected, but H2 does not.
src/com/iciql/IciqlException.java
tests/com/iciql/test/ForeignKeyTest.java