I try to write java stored procedures, so as the docs say I extend COM.ibm.db2.app.StoredProc.
In order to get the current connection the docs say to call getConnection method of the supper.
But, the stored procedure method to be called MUST be declared static, so I end up with compilation errors - non-static method cannot be called from static context!
So how can I get the connection?
Thanks, Nick
In order to get the current connection the docs say to call getConnection method of the supper.
But, the stored procedure method to be called MUST be declared static, so I end up with compilation errors - non-static method cannot be called from static context!
So how can I get the connection?
Thanks, Nick