openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dick <michael.d.d...@gmail.com>
Subject Re: Missing table name in query
Date Wed, 07 Jul 2010 19:21:51 GMT
I just fixed the release notes (well for 1185 anyway), sorry for not
checking before I sent the previous email.

I'm not sure if there's a query workaround off the top of my head. Will try
to take a closer look tonight / tomorrow though.

-mike

On Wed, Jul 7, 2010 at 1:49 PM, Daryl Stultz <daryl@6degrees.com> wrote:

> On Wed, Jul 7, 2010 at 2:16 PM, Michael Dick <michael.d.dick@gmail.com
> >wrote:
>
> > Hi Daryl,
> >
> > There's no real timeline for a 1.3 release, if there's demand for one
> that
> > can change :-).
> >
>
> OK, then, +1 for me! I think there are some other bugs fixed that I have
> run
> into, too.
>
> Fay says 1185 is fixed for 1.3 but I don't see it in the list. The JIRA
> just
> states 2.0:
> https://issues.apache.org/jira/browse/OPENJPA-1185
>
> Is there any query-based workaround for 1185? I am currently passing in a
> list which means I have to preload the list when I don't really need it:
>
> select o from Role as o
> where
> (lower(o.name) like :search or lower(o.printCode) like :search)
> and o.id not in (:jgJobsIds)
>
> query.setParameter("jgJobsIds", jobGroup.getJobs()); // not quite like
> this... extracted id's
>
> Thanks.
>
> --
> Daryl Stultz
> _____________________________________
> 6 Degrees Software and Consulting, Inc.
> http://www.6degrees.com
> http://www.opentempo.com
> mailto:daryl.stultz@opentempo.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message