[Hibernate]Condition in a left outer join clause using Criteria or Detached
13 views
Skip to first unread message
Matt Brz
unread,
Aug 13, 2009, 8:24:30 AM8/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Java Web Application
Hi y'all
First post here..
I'd like to know how can i insert a condition expression in a 'left
outer join' clause using Criteria or DetachedCriteria
e.g.
LEFT OUTER JOIN
TAB_PLAYER PLAY
ON TEAM.ID_PLAYER = PLAY.ID_PLAYER
AND PLAY.SITUATION <> 'D'
I've tried to use CriteriaSpecification.LEFT_JOIN when i create an
alias but didn't work, it aways sends the 'AND' condition to the
clause 'WHERE'
any idea ??
Thanks in advance!