I'm trying to run this query
SELECT userType from Users as @type
But hibernate throws a syntax error.
org.hibernate.QueryException: unexpected char: '@'
I tried to use quotes but it didnt work as well.
Can this be done?
I'm trying to run this query
SELECT userType from Users as @type
But hibernate throws a syntax error.
org.hibernate.QueryException: unexpected char: '@'
I tried to use quotes but it didnt work as well.
Can this be done?