Hi, you know if is it possible to make a query referencing multiple DB in HQL? That is: I have three legacy system, each one with its DB (one oracle, one sqlserver, one mysql ...don't tell...), I already have all them in one application using different hibernate configuration files.
I want to make a query like
select table_from_db_a
from Table_from_db_a table_from_db_a
where table_from_db_a.commonKey not in
(select table_from_db_b.comonKey
from Table_from_db_b table_from_db_B
)
Is it possible?
Thank you,
Marco
|