I'm using MySql with my SFS for login check through internal event.
I'm using the following code for the query:
Code: Select all
String sql = "SELECT " + " * " + " FROM " + DB_TBL_NAME + " WHERE " +
DB_USER_ID + "='" + name + "'" +
"AND " + DB_USER_PWD + "='" + pass + "'";
// Execute the query
ArrayList arrayList = dbManager.executeQuery(sql);
The return arrayList contains 1 DataRow which contains nulls.
Do you have any idea about this problem?
Do you know how to solve it?
Thanks,
Eyal.