Re: named-native-query with sql-result-set-mapping

2018-03-08 Thread Craig Taylor
Try using longs instead of integer. If you grab the result set without conversion you should be able to iterate through the list to see what is being returned. On Mar 8, 2018 07:38, "Matthew Broadhead" wrote: > hi i am trying to do a NamedNativeQuery with a SqlResultSetMapping and i > get javax

Dynamic POJO population and child POJOs with CriterionQuery

2015-03-06 Thread Craig Taylor
ooks interesting but I've been unable to see how I can bend it to my will. Is it tied to an entity object or can I map it to individual POJO's and only for certain elements while handling child objects selectively also? Thanks, -- ------- Craig Taylor ctalk...@ctalkobt.net

Re: OpenJpa 2.2.0 - Literal is not truly literal when generating sql.

2014-02-18 Thread Craig Taylor
a/browse/OPENJPA-2324 > > Thanks, > Rick > > > On Tue, Feb 18, 2014 at 1:48 PM, Craig Taylor > wrote: > > > It appears the the criteriaBuilder.literal() is not treated as literal > > consistently during generation of HQL / SQL. > > > > For criteria queries,

OpenJpa 2.2.0 - Literal is not truly literal when generating sql.

2014-02-18 Thread Craig Taylor
ase cache query plans yet this optimization is actually causing a major performance problem. Suggestions? -- ------- Craig Taylor ctalk...@ctalkobt.net