Hi all
I am using hibernate and i want to execute a query which would search the database and return all the entries which match to the 'where' clause in the query.
I have tried the follwing query and it gives an exception, i think the query is not proper.
The query which i have used is "select UserDataBO.Login from UserDataBO as Login where Login='username'"
If the query is incorrect please correct me or if there is another method please advice me.
Thanks in advance
With Regards,
S.R.K.Vivek Raju.
I am using hibernate and i want to execute a query which would search the database and return all the entries which match to the 'where' clause in the query.
I have tried the follwing query and it gives an exception, i think the query is not proper.
The query which i have used is "select UserDataBO.Login from UserDataBO as Login where Login='username'"
If the query is incorrect please correct me or if there is another method please advice me.
Thanks in advance
With Regards,
S.R.K.Vivek Raju.