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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

windows - How to automate a file conversion xwm to mp3 with xwmaencode.exe using bat file -