-->
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.  [ 1 post ] 
Author Message
 Post subject: Left Join ERROR
PostPosted: Thu Jun 04, 2009 2:57 pm 
Newbie

Joined: Thu Jun 04, 2009 10:56 am
Posts: 1
I have a select Query that looks like this:
extract="FROM table1 SR, table2 PD, table3 DR, table4 DF where SR.field in (:myype) and SR.fieldp = DF.filedp(+) and SR.fieldy = DF.fieldy(+) and SR.fieldx= (:mystring)";

This works fine when you run in directly on oracle... but hibernate doesn't like it.... I am getting the following error:

com.x.y.z.exceptions.ExtractException: Extract failed for the named query:FROM com.x.y.z.hibernate.Srestat SR, ..., com.x.y.z.hibernate.Table4 DF where SR.field in (:filingtype0_) and ...
Caused by: org.springframework.orm.hibernate3.HibernateQueryException: unexpected token: ) near line 1, column 394 [FROM com.x.y.z.hibernate.Srestat SR, ..., com.x.y.z.hibernate.Table4 DF where SR.field in (:filingtype0_) and ... ]


Thank you in advance for looking at the error. And Please reply


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

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.