CREATE OR REPLACE JAVA SOURCE for SQLJ file???
714055Aug 10 2009 — edited Nov 20 2014Hi all,
I have got a question. Is it possible to perform CREATE OR REPLACE JAVA SOURCE for a SQLJ file (source). It means I am trying to create Java source from source text where source text is not source of a regular Java class but of a SQLJ class.
CREATE OR REPLACE JAVA SOURCE NAMED "TestClass" AS
public class TestClass {
static public String Msg(String tail) {
return "Hello " + tail;
}
}
/
So, where Java class source goes there must be body of SQLJ class. Meanwhile, I have to avoid import with loadjava and implement Java import per SQL script.
Edited by: doytsujin on Aug 10, 2009 8:18 AM
I probably should load Java sources generated from SQLJ source by SQLJ per-compiler. This should work.
Edited by: doytsujin on Aug 10, 2009 8:38 AM