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

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -