This discussion is archived
1 Reply Latest reply: Nov 7, 2013 2:18 AM by AaronMc RSS

Using Oracle Wallet for Java connection

AaronMc Newbie
Currently Being Moderated

Hi,

 

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

  • 1. Re: Using Oracle Wallet for Java connection
    AaronMc Newbie
    Currently Being Moderated

    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;

    }

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points