Object not mapped exception,
June 20, 2007 at 5:29 PM
I am experiencing a prob while tryign to execute a select query. It throws "Object not mapped" error in createQuery() statement. I have the mapping xml & appropriate java object...
Following is the code:
String qryString = " FROM USERS AS USR " + " WHERE USR.LOGIN_NAME = '" + userData.getLoginName() + "'" + " AND USR.PASSWORD = '" + userData.getPassword() + "'";