[h2] Re: Cannot find symbol NUMERIC

2023-03-23 Thread Evgenij Ryazanov
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

[h2] Cannot find symbol NUMERIC

2023-03-23 Thread ELIELDO MARTINS
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