Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CreateNativeQuery and Non entity class

okmich-JavaNetApr 29 2008 — edited May 23 2008
just want to find out:
a signature of the createNativeQuery() method is
Query createNativeQuery(String sqlString, Class resultClass) 
My question is can the resultClass be a non entity?


Regards,
Michael
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2008
Added on Apr 29 2008
3 comments
3,778 views