I have written a code that will help the user to save the image in the oracle database using JDBC.
PreparedStatement ps =con.prepareStatement("insert into employee values(?,?)");
ps.setString(1,name);
ps.setBlob(2,inputStream);
But when I am trying to run the code,it is getting an error
java.lang.AbstractMethodError: Method oracle/jdbc/driver/T4CPreparedStatement.setBlob(ILjava/io/InputStream;)V is abstract
How is this caused and how can I solve it?