You can only solve this by using "Dual Session" session mode. The problem is that the 2 windows use 2 sessions, and one will lock the other. Updates from the grid are not applied in a background thread, so PL/SQL Developer will hang in case of a deadlock. For inserts, PL/SQL Developer cannot first test for locks.