Actually this can be simplified to CREATE ALIAS GET_ENV FOR
"java.lang.System.getenv" and I have a similar CREATE ALIAS GET_PROPERTY
FOR "java.lang.System.getProperty".
Both don't need to compile so I can use JRE w/o JDK.
I use the GET_PROPERTY to pass parameters to the script through the java
typo - removed "new". Working code:
> CREATE ALIAS GET_ENV AS $$
>
String getEnv(String value) {
>
return System.getenv(value);
>
}
>
$$;
>
--
You received this message because you are subscribed to the Google Groups "H2
Database" group.
To unsubscribe from this group and stop receiving emai