Forum Stats

  • 3,783,379 Users
  • 2,254,767 Discussions
  • 7,880,376 Comments

Discussions

Using Oracle Wallet for Java connection

AaronMc
AaronMc Member Posts: 2

Hi,

Can anyone tell me how to acces the Oracle wallet from my Java application without using the thin or oci drivers?

Tagged:

Answers

  • AaronMc
    AaronMc Member Posts: 2

    No answer was found for this, we ended up using an OCI driver for the connection to the wallet. Code (in java) was as follows for reference:#

    private static Connection walletconn() throws Exception{

    String url = "jdbc:oracle:oci:/@DATABASE";

    OracleDataSource ods = new OracleDataSource();

    ods.setURL(url);

    Connection conn = ods.getConnection();

    return connl;

    }

This discussion has been closed.