Forums de discussion

Execute custom sql in different dbs

vamsi m, modifié il y a 10 années.

Execute custom sql in different dbs

New Member Publications: 20 Date d'inscription: 03/08/13 Publications récentes
Requirement:
I have two Databases in remote locations. I have to execute one custom sql query on table1 from db1 and fetch the data.
That data inserting/updating in table2 of db2.

How can i achieve this requirement.
thumbnail
David H Nebinger, modifié il y a 10 années.

RE: Execute custom sql in different dbs

Liferay Legend Publications: 14916 Date d'inscription: 02/09/06 Publications récentes
None of this has anything to do with Liferay, it is a simple coding question to anyone who has used hibernate, jpa, or even jdbc.
vamsi m, modifié il y a 10 années.

RE: Execute custom sql in different dbs

New Member Publications: 20 Date d'inscription: 03/08/13 Publications récentes
ok thanks for replay.