Hello!
The valid syntax is
CREATE ALIAS MY_STORED_PROC AS '
BigDecimal envia() {
return BigDecimal.ONE;
}
';
because SQL NUMERIC data type is mapped to BigDecimal data type in Java.
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To
I have a problem with an integration test. I created an ALIAS for a
function, but it gives a compilation error stating that it cannot find the
numeric symbol. Does anyone use ALIAS with this data type?
CREATE ALIAS my_stored_proc AS '
numeric envia() {
return 1;
}
';
--
You received