问题
Just new with hibernate, is there a way to implement oracle dblink on hibernate? e.g. select * from tablename@dblink
to be used in hql?
回答1:
Creating a SYNONYM in Oracle for tablename@dblink and configuring your Hibernate entity to map this synonym should do the trick.
来源:https://stackoverflow.com/questions/22017108/hibernate-with-oracle-dblink-implementation