-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: HSQL Outer Join query exception
PostPosted: Mon Nov 17, 2003 2:02 pm 
Regular
Regular

Joined: Sat Oct 18, 2003 11:53 am
Posts: 55
We have a user that is getting this error:

net.sf.hibernate.QueryException: outer or full join must be followed by path expression


Here is the output:

Code:
from com.notiva.cbo.buyer.data.partnership.SellerPartnershipImpl as sp  inner join com.notiva.cbo.buyer.data.invoice.InvoiceImpl as invoice  on invoice.partnershipId = sp.id  inner join com.notiva.cbo.buyer.data.match.InvoiceMatch as invoice_match  on invoice_match.invoiceId = invoice.id  inner join com.notiva.cbo.buyer.data.match.MatchImpl as match  on match.id = invoice_match.matchId  where match.id =135


Any ideas? Looks good to me. Thanks

Matt


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 2:04 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
This is not HQL.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 2:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
(1) There is no ON clause in HQL
(2) It really looks MUCH nicer if you get rid of the package names .... you can use the classnames unqualified unless there are dupes.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.