[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[QF-Test] Procedure "executeSelectStatement" with sample Select Query returning error getting index , type [-9] [SQLCode: 0]
I am trying to call the "qfs.database.executeSelectStatement" procedure to query an Oracle Database.
Here are the following input parameters:
statement select COUNTRY_NAME from MySchema.country
Within "Plugin" folder I put the following Oracle Driver jar: ojdbc6_g.jar
I keep getting the following error message:
The following error was encountered:
Exception during executing statement : error getting index , type [-9] [SQLCode: 0]
When debuging Jython code of "qfs.database.executeSelectStatement", I can see the connection is fine and the error occurs at the following line:
Note if I modify the query to count(*) (eg select count(*) from MySchema.country)
It works fine.
So I can't figure out why sample query such as "select COUNTRY_NAME from MySchema.country" is not working as well?
Thanks in advance for your help on this issue