Kbase P3144: Error 7587 when compiling Java trigger
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  31/07/2002 |
|
Solution ID: P3144
FACT(s) (Environment):
Progress 9.x
SYMPTOM(s):
Error 7587 when compiling Java trigger
Having only BEGIN and END in the Java Snippet part still returns the error 7587.
Example:
CREATE TRIGGER myTrigger AFTER INSERT ON pub.myTable
REFERENCING NEWROW
FOR EACH ROW
IMPORT
import java.io.*;
BEGIN
END;
[JDBC Progress Driver]: Syntax error (7587)
CAUSE:
Space(s) before the words IMPORT and BEGIN
FIX:
Do not put any spaces before IMPORT, BEGIN and END.
Example:
CREATE TRIGGER myTrigger AFTER INSERT ON pub.myTable
REFERENCING NEWROW
FOR EACH ROW
IMPORT
import java.io.*;
BEGIN
END;