As oracle resides on a different server, you have to be sure that there is a connection compatibility between the driver the oracle server.