java - how to use left outer join in hibernate using hibernate query language -
hi trying execute hql query using left outer join thowing exception org.hibernate.hql.ast.querysyntaxexception: unexpected token: on near line 1, can pls tell me worng in query
select * creditcarddetails cred left outer join customerhistory custhist on cred.creditcarddetailsid=custhist.creditcarddetailsid , custhist.carda=0000
assuming have association named history
relates entity creditcarddetails
customerhistory
.
from creditcarddetails cred left outer join cred.history custhist custhist.carda=0000
Comments
Post a Comment