How to write custom functions for HSQL memory

I want to write a simple function in HSQL so that it is backward compatible with DB2 functions. Theoretically, I would have to write a user-defined function in java and connect it to HSQL. Is there any direction / documentation on this?

+4
source share
1 answer

Custom functions are described in the HSQLDB manual. See this section for functions written in Java.

http://hsqldb.org/doc/2.0/guide/sqlroutines-chapt.html#src_jrt_routines

You can also write your functions in SQL, which is described in the same chapter of the manual.

+4
source

Source: https://habr.com/ru/post/1336025/


All Articles