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?
I thought I could specify the connection by passing a JDBC connection as a parameter to xqs.getConnection(jdbcConn), but I get an javax.xml.xquery.XQException: XQDataSource : getConnection(conn) is not implemented.