DB query return with DataRow of nulls
Posted: 24 Feb 2010, 15:35
Hi,
I'm using MySql with my SFS for login check through internal event.
I'm using the following code for the query:
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.
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);
Do you have any idea about this problem?
Do you know how to solve it?
Thanks,
Eyal.