Feedback
Did this article resolve your question/issue?

   

Article

How to connect to OpenAccess JDBC client from Oracle SQL Developer

Information

 
TitleHow to connect to OpenAccess JDBC client from Oracle SQL Developer
URL Namehow-to-connect-to-openaccess-jdbc-client-from-oracle-sql-developer
Article Number000179130
EnvironmentProduct: OpenAccess JDBC Client
Version: 7.2
OS: All supported platforms
Database: N/A
Application: Oracle SQL Developer
Question/Problem Description
How to connect to OpenAccess JDBC client from Oracle SQL Developer. 

Below error is received while connecting from Oracle SQL Developer to OpenAccess JDBC Client.
Steps to Reproduce
Clarifying Information
Error Messagejava.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)
Defect Number
Enhancement Number
Cause
Resolution
1. Run the Oracle SQL Developer.
2. Add the oajc.jar from Tools -> Preferences->Database->Third Party JDBC Driver
3. Create a connection.xml file with the following content:

<?xml version = '1.0' encoding = 'UTF-8'?>
<References xmlns="http://xmlns.oracle.com/adf/jndi">
   <Reference name="OAJDBC72" className="oracle.jdeveloper.db.adapter.DatabaseProvider" xmlns="">
      <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
      <RefAddresses>
         <StringRefAddr addrType="subtype">
            <Contents>thirdParty</Contents>
         </StringRefAddr>
         <StringRefAddr addrType="user">
            <Contents>adm</Contents>
         </StringRefAddr>
         <StringRefAddr addrType="SavePassword">
            <Contents>false</Contents>
         </StringRefAddr>
         <StringRefAddr addrType="driver">
            <Contents>com.ddtek.jdbc.openaccess.OpenAccessDriver</Contents>
         </StringRefAddr>
         <StringRefAddr addrType="customUrl">
            <Contents>jdbc:openaccess://localhost:19986;ServerDataSource=Default</Contents>
         </StringRefAddr>
      </RefAddresses>
   </Reference>
</References>

4. In SQL Developer, using Connections->import connection, select connection.xml, select OAJDBC, then click "Next"
Workaround
Notes
Last Modified Date9/28/2016 10:39 PM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.