inserts through a database link
Do you know if there is a restriction about performing inserts through a database link ?
We are experiencing the following situation:
We have two Oracle 8i instances running on a win 2k3 server, and a Forms applications needs to insert data from one instance to the second one. It executes an "insert - select", inserting data on a table which resides in instance b from a table which resides in instance a, but when the app try to execute the insert, it hangs, and the only way to stop it is killing the process.
If the same application executes the "insert" (with fixed values) and the "select" separately, it has no problems.
On instance "a" we have a public synonym for the instance "b" table. (create public synonym TABLE1 for TABLE1@DBLINK).
We tried the same insert-select from Sql Plus, and it was done without any problem.
We tried to remove the synonym with DBA Studio, but it was not possible. DBA Studio hanged too.
Questions:
- Would it be better to use <TABLE>@<DBLINK> in the application instead of creating the synonym ?
- Is there some restriction about inserting through a dblink ?
- Is it possible that we have this problem due to a "bad" Oracle (database) or Developer installation ?
Any ideas will be really appreciated.
Thanks in advance.



