I want to execute the below query in Hibernate?
select count(*) from login where emailid=\'something\' and password=\'something\'
other solution may be createSQLQuery("SQL STATEMENT") if you Compelled to good luck