I have a .Java file in an Application where the code which like this
blob = ((OracleResultSet) rs).getBLOB("Document");
I have imported oracle.sql.blob. import Oracle.sql.BLOB
But even after that I am having complier error and intellisense suggesting me to Create method 'getBLOB(string)' in type OracleResultSet
Is this a problem because of JRE system library? I checked it too... the Jar file is properly added.
Just another point this problem is happening after a fresh installation of Eclipse. Do I need to add any additional JAR or perform some configuration?
the method signature should be
Blob getBlob(String columnLabel) throws SQLException
so, try writing the last three letters in lower case:
blob = ((OracleResultSet) rs).getBlob("Document");
I have upgraded the JDK version of my machine to JDK 7 and it did the trick. The JRE system library files were not all available with the previous version. No this sort of issues anymore.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.