Hi,
I have a requiremnement where I need to retrieve multiple columns from the table "User" using JPQL? Like:-
select user.userName, user.password from User user where userId=?
How to do that using JPQL in java , whether multiple columns retrival result in single "User" object or Object[]? Please clarify with example.
Thanks.
I have a requiremnement where I need to retrieve multiple columns from the table "User" using JPQL? Like:-
select user.userName, user.password from User user where userId=?
How to do that using JPQL in java , whether multiple columns retrival result in single "User" object or Object[]? Please clarify with example.
Thanks.