net.sf.hibernate.QueryException
net.sf.hibernate.QueryException: in expected: se [select from SearchEngine se where se.name = ? and se.language = ?]
Solution
The error messare was misleading. The actual reason was a bad spelled object name.
I wrote
select from SearchEngine se where se.name = ? and se.language = ?
instead of
select from Searchengine se where se.name = ? and se.language = ?