1 Reply Latest reply: May 16, 2012 6:36 AM by 937467 RSS

    Setup connection info with XQJ

    937467
      Hi,

      I am trying to use XQuery through the XQJ API.

      When I instantiate an oracle.xquery.xqj.OXQDataSource as explained in http://www.oracle.com/technetwork/articles/oem/xquery-jdbc-325944.html, I can submit queries fine except that I haven't found how I can set up the server connection info:

      * This datasource claims that it doesn't support setting any property.
      * I don't see any non standard method to set properties.
      * When I try to access some random collection like collection("oradb:/foo") I just get an empty result set even when no server is running, suggesting that the driver doesn't even try to connect.

      What have I missed and how can I set the server connection info?

      Thanks,

      Eric