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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/92fde29d-e26e-4816-b752-d7e568b971c1n%40googlegroups.com.

Reply via email to