in the sqlite database, i set a field typed blob. then, i wrote java code:
PreparedStatement preStmt = con.prepareStatement("INSERT INTO zz(pic) VALUES(?)");
preStmt.setBinaryStream(1, new FileInputStream(file), file.length());
i got a exception:
java.lang.AbstractMethodError: org.sqlite.PrepStmt.setBinaryStream(ILjava/io/InputStream;J)V
any suggestion ?
Or, what code i should write if i want to use save binary number in sqlite ?