I've just tried to access PI AF Server from Mybatis through PI JDBC driver.
Inside the Mybatis PIJDBC calls the following procedure.
At the step ②, Exception occurs.
Error message is as follows.
Cause: java.sql.SQLException: [RDSA OLE DB Provider] IID_ICommand: DB_E_PARAMNOTOPTIONAL
I tried to find out the cause, when you run the procedure ②,
Statement the parent class of PreparedStatement Will call method of getResultSet().
It seems it become the Exception of OLEDB for not pass parameters to the SQL in the Statement.
Can somebody explain, can I solve this problem, and how? Thank you!