• Post Reply Bookmark Topic Watch Topic
  • New Topic

HQL for two different database  RSS feed

 
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
Posts: 4001
42
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!