the problem is that H2 is trying to convert the argument to a valid type and because it doesn't know how to deal with Number, ends up in a fallback path that produces a less than useful error message.

Probably we should just remove that fallback path and instead throw a 
conversion error.

You could work around your issue by making your ALIAS take String as a parameter, and then converting it to a number yourself.

--
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to h2-database+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/38a65223-570e-7880-2c84-157bbe41086f%40gmail.com.

Reply via email to