I'm working on Android and i'm studing use of SQLite database. I already known how to do operation like create query insert etc.. for the database.
Just for example, suppose to have the following table definition:
CREATE TABLE bean84_b (id INTEGER PRIMARY KEY AUTOINCREMENT, column_bean BLOB);
Then SQL query to execute is:
SELECT id, column_bean FROM bean84_b WHERE column_bean=?
The java code to execute above query is:
byte[] param1=...
String[] args={String.valueOf(param1)};
Cursor cursor = database(). rawQuery("SELECT id, column_bean FROM bean84_b WHERE column_bean=?", args);
Is it possible to use a BLOB column like SELECT parameter?