Sign In : Sign Up : Blog : Search: Language : Help :
This website is now frozen, please migrate your content to BotLibre.com or BotLibre.biz
Java Persistence Performance : QueryHints.RESULT_TYPE, ResultType.Map

RE: QueryHints.RESULT_TYPE, ResultType.Map

by jamesssss posted Aug 8 2014, 8:33

Hi Montechristos,

QueryHints and ResultType are in the org.eclipse.persistence.config package.



The hints are just strings so,

query.setHint("eclipselink.result-type", "Map");

will work as well.

Id: 222258
Tags: query hints, jpa, eclipselink, map
Posted: Aug 8 2014, 8:33
Updated: Aug 8 2014, 8:34
Replies: 0
Views: 3083, today: 6, week: 16, month: 31
I'm sure
Flag graphic as offensive, or in violation of site rules