openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sutter <kwsut...@gmail.com>
Subject Re: Unhelpful exception message
Date Thu, 10 Sep 2009 19:28:00 GMT
The exception text in trunk looks to be much clearer.  I created a JIRA [1]
anyway so that we have this 1.2.x issue documented.  Not sure if the trunk
exception processing applies to 1.2.x...

Kevin

[1]  https://issues.apache.org/jira/browse/OPENJPA-1291

On Thu, Sep 10, 2009 at 12:44 PM, Pinaki Poddar <ppoddar@apache.org> wrote:

>
> Hi,
>  The error message on trunk version looks better.
>
> <openjpa-0.0.0-rnull nonfatal user error>
> org.apache.openjpa.persistence.ArgumentException: Failed to execute query
> "select o from Account as o where o.id in (select balance from Account as
> o)". Check the query syntax for correctness. See nested exception for
> details.
>        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:865)
>        at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:787)
>        at
> org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:525)
>        at
> org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:291)
>        at
> org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:303)
> .................................
>        at Caused by: java.lang.IllegalArgumentException: Invalid unbound
> variable
> "balance" in query.
>
>
>
>
> Daryl Stultz wrote:
> >
> > On Tue, Sep 8, 2009 at 6:40 PM, Kevin Sutter <kwsutter@gmail.com> wrote:
> >
> >> Thanks, Daryl.  From your description, I would agree with your
> >> assessment.
> >> :-)  Could you open a JIRA issue [1] with information from this posting?
> >>  If
> >> you don't have JIRA access, let me know and I can create it for you.
> >>
> >> Sure, I can do that but I don't have JIRA access.
> >
> > --
> > Daryl Stultz
> > _____________________________________
> > 6 Degrees Software and Consulting, Inc.
> > http://www.6degrees.com
> > mailto:daryl@6degrees.com
> >
> >
>
>
> -----
> Pinaki
> --
> View this message in context:
> http://n2.nabble.com/Unhelpful-exception-message-tp3603002p3618024.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

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