Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic

convert HQL to sql

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Report post to moderator
i need to convert hql statement to sql.
when i am doing this i use the xxx.hbm.xml file
but there are some foreing key in that staement.how should i convert this?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
I'm not sure what you mean. Is this related to your other question?
 
hardikkumar patel
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Report post to moderator
aruna sameera wrote:i need to convert hql statement to sql.
when i am doing this i use the xxx.hbm.xml file
but there are some foreing key in that staement.how should i convert this?


Just Replace ValueObject Name in HQL by respective Table Name.
 
    Bookmark Topic Watch Topic
  • New Topic