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

HQL for two different database

 
Sandeep Bhoyar
Greenhorn
Posts: 17
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can we write HQL for two different datasource or sessionfactory. if yes, please provide dummy HSQL

 
Vijitha Kumara
Bartender
Pie
Posts: 3930
21
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HQL is Hibernate query language which is common, but if you need database specific query then try running a native SQL from Hibernate.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic