<< Dojo for beginners | Home | eclibatis 1.0 released >>

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



Re: struggling with hsqldb and union

Wow, that's a pretty nasty bug in hsqldb it seems. How did you get the idea to use a cast as a workaround?

Re: struggling with hsqldb and union

Re: struggling with hsqldb and union

Thanks mate... just saved me a ton of time ;-).

Add a comment Send a TrackBack