hi, This is regarding org.jaggeryjs.hostobjects.db.DatabaseHostObject. We need a better way to slove jaggery-jira280 [1]. To achieve this we need some information on ndatasource. DatabaseHostObject have been used 'org.wso2.carbon.ndatasource.rdbms.RDBMSDataSource'.
is there way check *that RDBMSDataSource is existing* from RDBMSDataSource? We found a method to getDataSource(String *dsName*) passing name in NDataSourceAdminService. (Think this dsName is unique?) Currently planing is to get DataSource from RDBMSDataSource. Then call getDataSource() from that DataSource If there is much easy way or standard way to achieve it, let me know. [1] https://wso2.org/jira/browse/JAGGERY-280 [2] https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/jaggery/components/hostobjects/org.jaggeryjs.hostobjects.db/src/main/java/org/jaggeryjs/hostobjects/db/DatabaseHostObject.java Thank you. -- *Madhuka* Udantha http://madhukaudantha.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
