Hi,

I am writting a trigger as follows:

CREATE OR REPLACE TRIGGER TRG_STATE_TB
AFTER INSERT , UPDATE
ON T_STATE_TB
FOR EACH ROW
Call "h2db.TrgStateTb"

I also wrote a java class which implements Trigger interface and
created a Jar file as well.

I also added this jar in my classpath. ( in C:\Program Files\H2\bin
folder where i have kept my 'h2-1.3.158.jar' as well). But when I try
to create this trigger, exception -

Error creating or initializing trigger "TRG_STATE_TB" object, class
"h2db.TrgStateTb", cause: "org.h2.message.DbException: Class
""h2db.TrgStateTb"" not found [90086-158]";

I also placed my jar file in 'C:\Program Files\H2\src\main\org\h2' as
well but the same error was shown.

Please let me know what im missing?

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to