Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hibernate with oracle dblink implementation

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?

like image 480
user2640305 Avatar asked Feb 25 '14 14:02

user2640305


1 Answers

Creating a SYNONYM in Oracle for tablename@dblink and configuring your Hibernate entity to map this synonym should do the trick.

like image 99
Julien Avatar answered Oct 17 '22 01:10

Julien