Azure, Oracle SQL Developer, and JDBC Driver - jdbc

I have a SQL Azure database and Oracle SQL Developer. I want to connect to my Azure instance using Oracle SQL Developer. SQL Developer needs JDBC drivers to work with MSSQL databases. The jTDS driver works with SQL Developer but not with SQL Azure databases (apparently). The 4.0 version of the MS JDBC Driver works with SQL Azure but not with Oracle SQL Developer (apparently). Has anyone else been here and found a solution?

There is no problem using the JTDS driver but it is required to add ssl=require
So string is like:
driver=net.sourceforge.jtds.jdbc.Driver
database=jdbc:jtds:sqlserver://YourSQLServer.database.windows.net:1433/YourDBName;ssl=require

Related

Is there any way to connect Sybase Database using SSIS

Please suggest suitable SDK to connect Sybase Database using SSIS package.
Trying to pull data from Sybase Database.
Connection manager doesn't show drivers to connect Sybase Database like wise ASE Client/ ASEOLEB ..
Any leads on this.

Connect to OBIEE from Oracle SQL Developer?

Is it possible to create a connection to OBIEE from Oracle SQL Developer?
I know it is possible to create an ODBC connection to the Oracle BI server within the Windows ODBC Data Source Administrator, and that other ODBC client tools can use that ODBC connection to run SQL against the BI server, but I don't see any way for SQL Developer to use that ODBC connection.
I'm on OBIEE 12.2.1.4 and SQL Developer 17.3.0.271.
UPDATE
Based on Robin Moffatt's article at https://rmoff.net/2016/03/28/connecting-to-obiee-via-jdbc-with-jisql/, I used jisql (https://www.xigole.com/software/jisql/jisql.jsp) to set up a connection to OBIEE using the JDBC driver that ships with the OBIEE client -- bijdbc.jar, which is located at $ORACLE_HOME/bi/bifoundation/jdbc/.
Following is a screenshot showing how jisql is able to successfully connect to my OBIEE server via the bijdbc.jar driver and run an example SQL statement; the Oracle-specific connection details are outlined in red:
Screenshot 1: OBIEE JDBC connection test using jisql
My next step was to try to implement this same successful JDBC connection in SQL Developer. To that end, I added bijdbc.jar to SQL Developer's third-party JDBC drivers:
Screenshot 2: bijdbc.jar added to SQL Developer third-party JDBC drivers
After adding the JDBC driver, I did not see a new tab in SQL Developer's connection dialog. (By comparison, in the past, when I have added other third-party JDBC drivers, such as the jTDS and MySQL drivers also seen in screenshot 2, new tabs had become available.)
Since there was not a new tab in SQL Developer's connection dialog, I tried setting the Oracle tab's connection type to Advanced and inserting the JDBC connection string as the Custom JDBC URL. Testing that connection leads to a "String index out of range: -1", as seen in this screenshot:
Screenshot 3: Error using custom JDBC URL in SQL Developer
Since that same JDBC connection string works in jisql, I suspect that either I'm doing something wrong, or SQL Developer does not support connecting to OBIEE via that bijdbc driver.
Ok, fair enough. Have a look at what Andrew did to make the ODBC drivers usable in Excel - it's basically down to manipulating things in Windows:
https://www.rittmanmead.com/blog/2017/02/working-with-obiee-data-in-excel-using-odbc/
Just adding a final answer here in case anyone stumbles upon this page asking the same question:
No, SQL Developer does not currently support connecting to an OBIEE server, although other tools can be used to connect to the server using either ODBC or JDBC.

Oracle ODI JDBC driver for SQL Server 2005 connection error

I am using Oracle ODI 11.1.1.7 version on a Windows 7 64bit machine. I want to connect to a SQL Server 2005 database using the driver com.microsoft.sqlserver.jdbc.SQLServerDriver.
I have downloaded and installed from Microsoft the drivers
Microsoft JDBC Driver 4.1 for SQL Server
and also
Microsoft JDBC Driver 4.0 for SQL Server
But I still have a connection error:
ODI-26039: Connection failed
Java.lang.RuntimeException: java.lang.IllegalArgumentException: Could not load JDBC driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver]
Did anyone else experience this issue?
Thank you in advance.
Kindly check this url. You need the specific driver depending upon the version of JDBC. You need to elaborate more on your question.
https://msdn.microsoft.com/en-us/library/ms378422(v=sql.110).aspx

No driver found to connect to sql database file

I tried to connect my database application to a .sdf database, but there there is no sqlce driver listed there to build my connection string. can anyone suggest me a way.
can anyone tell me, from where i can download sql server ce driver, if there is any
Unfortunately there isn't any ODBC driver for Compact Edition. But you can use this to connect
OLE DB
Source: Paul Sasik

Microsoft ODBC for Oracle and JDBC

Is the Microsoft ODBC driver for Oracle compatible with JDBC? If so, could an example be given?
Java ships with a JDBC-ODBC bridge, so if you can make a connection with ODBC, you can use the JDBC-ODBC bridge. However, the Oracle JDBC driver is to be preferred, since this is software provided by Oracle for connecting to their database. There is a driver for each database server version. The Oracle JDBC driver is a free download (after you create an account)

Resources