Bookmark Topic Watch Topic
  • New Topic

convert HQL to sql  RSS feed

 
sam liya
Ranch Hand
Posts: 1273
  • 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
Boost this thread!