struggling with hsqldb and union
Recently I spend quite some time on a hsqldb issue I encountered in hsqldb 1.8.0.9. Let's take the following ddl: Ane the following insert: Now the following select will lead to this (wrong) result After some debugging I found a workaround: The fix is to add a cast to the union: Now the select delivers the correct results