eclipse emf - HQL query with @JoinCoumn mapping returns object[] instead of Object -
i have hql query:
from usergroup join us.user
where usergroup , user both types. when data fetched. returns arraylist
contains object[] cotnain usergroup , corresponding user.
where from usergroup
returns arraylist
of usergroup objects...
is there way can return former query arraylist of usergroup objects latter query, don't know why returns object array that...?
if select more 1 "thing", hibernate give array.
if don't specify want select join of 2 entities, give both.
try
select usergroup join us.user
Comments
Post a Comment