Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HQL - Left Join "on" replacement?

 
Bala Thiruppathy
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hibernate version: Hibernate 3

This is my SQL query:

SELECT notification.div_id, notification.pa_no paNumber , criteria.pa_criteria_desc paOutboundCriteriaDesc
FROM pa_outbound_notification notification
Left JOIN pa_outbound_criteria criteria
ON notification.pa_criteria_desc LIKE criteria.pa_criteria_desc
where notification.div_id = '101'

What would be the logical replacement of HQL?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are you Java objects that are mapped, please post them?

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic