提交 e0137f4b authored 作者: sylvain-ilm's avatar sylvain-ilm

documentation

上级 5632b50a
......@@ -735,7 +735,7 @@ The class must be available in the classpath of the database engine
The sourceCodeString must define a single method with no parameters that returns ""org.h2.api.Trigger"".
See CREATE ALIAS for requirements regarding the compilation.
Alternatively, it can be a javascript (see javax.script.ScriptEngineManager) that returns ""org.h2.api.Trigger"". In that case the source must begin by ""//javascript"".
Alternatively, it can be a javascript (see javax.script.ScriptEngineManager) that returns ""org.h2.api.Trigger"". In that case the source must begin with ""//javascript"".
BEFORE triggers are called after data conversion is made, default values are set,
null and length constraint checks have been made;
......
......@@ -74,6 +74,9 @@ public class SourceCompiler {
*/
final HashMap<String, Class<?>> compiled = New.hashMap();
/**
* The class name to compiled scripts map.
*/
final Map<String, CompiledScript> compiledScripts = New.hashMap();
/**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论