openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <kwsut...@gmail.com>
Subject Re: [jira] Updated: (OPENJPA-81) Bad error message when trying to query a Collection relation using dot notation
Date Thu, 01 Mar 2007 12:55:00 GMT
Patrick,
I'm a little confused with all of these updates you are doing with the JIRA
Issues.  Most of the updates are related to specifying a Fix Version of
0.9.7.  Does this mean you are planning on having all of these Issues
resolved for 0.9.7?  Or, do you think this field specifies which version
needs to be fixed?  There is also an Affected Version field, which in my
mind, would more closely relate to that idea.

Maybe I'm just not familiar enough with the JIRA usage, but if you could
explain the reasoning behind these changes, that would be great.  Thanks.

Kevin

On 2/28/07, Patrick Linskey (JIRA) <jira@apache.org> wrote:
>
>
>      [
> https://issues.apache.org/jira/browse/OPENJPA-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Patrick Linskey updated OPENJPA-81:
> -----------------------------------
>
>     Fix Version/s: 0.9.7
>
> > Bad error message when trying to query a Collection relation using dot
> notation
> >
> -------------------------------------------------------------------------------
> >
> >                 Key: OPENJPA-81
> >                 URL: https://issues.apache.org/jira/browse/OPENJPA-81
> >             Project: OpenJPA
> >          Issue Type: Improvement
> >          Components: diagnostics, query
> >         Environment: openJPA 0.9.7
> > MySQL 5.0.15
> >            Reporter: Jakob Braeuchi
> >            Priority: Minor
> >             Fix For: 0.9.7
> >
> >
> > the query over the 1:n relationship 'katergorien'
> > em.createQuery("select distinct k from KategorieGruppe k " +
> >                       "where k.kategorien.bezeichnung like ?1 " +
> >                       "order by k.bezeichnung asc");
> > uses a wrong alias t2 in the generated SQL:
> > SELECT DISTINCT t0.id, t0.bezeichnung FROM ekv2kategoriegruppe t0 INNER
> JOIN ekv2kategorie t1 ON t0.id = t1.idGruppe WHERE (t2.bezeichnung LIKE ?
> ESCAPE '\\') ORDER BY t0.bezeichnung ASC [params=(String) F%]
> > Unknown column 't2.bezeichnung' in 'where clause'
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

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