Bookmark Topic Watch Topic
  • New Topic

convert HQL to sql

 
sam liya
Ranch Hand
Posts: 1246
  • 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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!