mysql - Trying to check the login credentials using JDBCTemplate, But failed to Execute Sql Queries -


here java code:

public user checkcredentials(string username, string password){      string sql="select * ct_login_user_t        login_user_name = ? , login_user_password = ?".touppercase();     system.out.println("checking valid user."+sql);     user user=(user)getjdbctemplate().queryforlist(sql, new obje                              ct[]{"%"+username+"%","%"+password+"%"},             new beanpropertyrowmapper<user>(user.class));     system.out.println("user in impl....."+user);     return user;  } 

i getting following exception:

java.sql.sqlexception: invalid argument value: java.io.notserializableexception


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -