Hi Senaka, On Wed, Sep 5, 2012 at 4:03 AM, Senaka Fernando <[email protected]> wrote:
> Hi Anjana, > > What does dataSourceProps do? are these connectionProperties as explained > in http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html? I found > this in the master-datasources.xml's sample data source. > Actually no, the "dataSourceProps" is used when you also provide the property "dataSourceClassName". That is, when you define the data source to use another javax.sql.DataSource implementation. For example, Oracle will have their own DataSource implementation where we can use. And when we create an instance of their data source class, we have to set properties to that object, this is done using the values in "dataSourceProps". Also, this would be the mechanism used when we define XA data sources. There's actually a small sample on how to use this in the lower commented section of "master-datasources.xml". Cheers, Anjana. > > Thanks, > Senaka. > > -- > *Senaka Fernando* > Member - Integration Technologies Management Committee; > Technical Lead; WSO2 Inc.; http://wso2.com* > Member; Apache Software Foundation; http://apache.org > > E-mail: senaka AT wso2.com > **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 > Linked-In: http://linkedin.com/in/senakafernando > > *Lean . Enterprise . Middleware > > -- *Anjana Fernando* Associate Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
