As per Spring's
javadocs the exception is thrown when it expects the SQL to return 1 row but it got 0 rows. It says so in the stack trace that you posted
Incorrect result size: expected 1, actual 0
is ot returning any records. Have you
So, the problem is, obviously, that the SQL
SELECT Username,Password,Groups FROM [Alex].[dbo].[tblUsers] WHERE Username Like ? And Password Like ? is not returning records. Have you tried running the SQL with the employee username/password that you are
testing with?