1 Reply Latest reply: Nov 7, 2013 4:18 AM by AaronMc RSS

    Using Oracle Wallet for Java connection

    AaronMc

      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

          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;

          }