on 2014 Jan 07 8:06 AM
Hi! I have some trouble with java store procedures(SQL ANywhere 16, windows)and would be very happy if someone could help me
When I try to run my java stored procedure (CALL MyMain('2013-01-07');) I get this error:
Could not execute statement Procedure 'MyMain' terminated with unhandled exception 'java.lang.ClassNotFoundException: MyTestStoreProc' SQLCODE = -91, ODBC 3 Sate = "HY000" Line 1, column1
I created the wrapper like this
CREATE PROCEDURE MyMain( IN arg1 CHAR(50) ) EXTERNAL NAME 'MyTestStoreProc.main([Ljava/lang/String;)V' LANGUAGE JAVA;
You can see the class in Sybase central (External environments) and the wrapper (procedures and functions), So it looks ok
So I do not understand why I get this error...Can anybody please give me some pointers?
(The procedures in the class can be executed from eclipse without any errors)
User | Count |
---|---|
66 | |
11 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.