A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
HQL for two different database
Joined: May 17, 2010
Jan 18, 2012 21:37:44
Can we write HQL for two different datasource or sessionfactory. if yes, please provide dummy HSQL
Joined: Mar 24, 2008
Jan 26, 2012 10:41:33
HQL is Hibernate query language which is common, but if you need database specific query then try running a native SQL from Hibernate.
SCJP 5 | SCWCD 5
How to ask questions
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: HQL for two different database
Difference between Criteria API and HQL Queries?
Q 4 C. Bauer & G. King (2): Hibernate & formulating queries
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013