Hi Hiranya,

[1] might help you.

[1]
https://github.com/wso2/carbon-ml/tree/master/components/ml/org.wso2.carbon.ml.database

On Sat, Nov 21, 2015 at 8:58 AM, Hasitha Hiranya <[email protected]> wrote:

> Hi,
>
> In our carbon product, we have a new database to deal with. We have the DB
> script that creates the necessary tables to work with the product in a
> specified  database pointed by
> <home>/repository/conf/datasources/masterdatasource.xml.
>
> If we write a code to source the DB Script, we need to
> read masterdatasource.xml file ourselves and decode necessary xml values
> from data source configuration. Is this the correct way of doing it?
>
> Or does Carbon have some interface or configuration object where it loads
> the configs in masterdatasource.xml so that our code can read from?
>
> Thanks
> --
> *Hasitha Abeykoon*
> Senior Software Engineer; WSO2, Inc.; http://wso2.com
> *cell:* *+94 719363063*
> *blog: **abeykoon.blogspot.com* <http://abeykoon.blogspot.com>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Anuruddha Premalal*
Software Eng. | WSO2 Inc.
Mobile : +94717213122
Web site : www.anuruddha.org
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to