Example using SqlServer Jdbc 3.0 Driver from a Java Stored Procedure (Doc ID 1360407.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.7 and later
Information in this document applies to any platform.

Goal

This note provides setup instructions to test a simple Java Stored Procedure that uses the SQLServer JDBC 3 driver to connect to a remote SQL2008 database.

Note: This code is not supported by Oracle or Microsoft.  (The Oracle Development team provides a Gateway product for communication with SQLServer.) The Oracle JVM development team does not test the MS JDBC Drivers and Microsoft does not certify their drivers with the Oracle JVM.  With that said, however, you should have success as long as you make sure you get MS JDBC drivers certified with the same version as the Oracle JVM (which changes from release to release).

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms