1. Binh Pham
  2. PowerBuilder
  3. Tuesday, 7 April 2020 18:28 PM UTC

Hi, hope someone can help me with this issue.

I'm trying to create a JDBC db profile connection to an Oracle 12c or 19c database, but have not been successful. 

This is what I specified in the DB Profile:

I use the JDB JDBC Database Interface GUI and specify,

Profile name: DWH10JDBC

Driver name: oracle.jdbc.driver.OracleDriver

URL:  jdbc:oracle:thin:@DWH:1577:DWH10

LogID: user1

Password: *******

 

This is the preview looks like:

// Profile DWH10JDBC
SQLCA.DBMS = "JDBC"
SQLCA.LogPass = <********>
SQLCA.LogId = "user1"
SQLCA.AutoCommit = False
SQLCA.DBParm = "Driver='oracle.jdbc.driver.OracleDriver',URL='jdbc:oracle:thin:@DWH10:1577:DWH10'"

 

Then I created a CLASSPATH env variable under my user to point to the Oracle 19c 32-bit directories which I hope might contain one of the files required by PB:

C:\app\0ra19300_32-bit\Oracle_193000_32-bit\jdbc\lib

C:\app\0ra19300_32-bit\Oracle_193000_32-bit\jdk\jre\lib

C:\app\0ra19300_32-bit\Oracle_193000_32-bit\jdk\lib

When I test the profile, I still have the same error, which is:

Non SQL Error:  Could not load class oracle.jdbc.driver.OracleDriver

 

Please help.

Thanks.

 

 

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 8 April 2020 17:28 PM UTC
  2. PowerBuilder
  3. # 1

HI Binh;

  FWIW: That is the same error I get in PB2019 and PB2019R2. The only difference is  that I am using O18C with the "Instant client" installed. However, the other connectivity mechanisms work great (native, ODBC, ADO.Net, etc).

  Very puzzling.

Regards ... Chris

Comment
  1. Binh Pham
  2. Wednesday, 8 April 2020 20:22 PM UTC
Chris,



Thanks for checking that out...I believe Support team will be able to fix this...soon.



Thanks.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.