Hibernate with oracle dblink implementation

守給你的承諾、 提交于 2020-01-03 15:32:14

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!