On Thu, Aug 11, 2016 at 11:08 AM, Afkham Azeez <[email protected]> wrote:

>
> On Thu, Aug 11, 2016 at 10:59 AM, Ama jayaweera <[email protected]>
> wrote:
>
>> Could you please help us for connect database and retrieve data(Multiple
>> tables), update data and delete data from database.
>
>
> Which example are you referring to? You have to use standard JDBC or JPA
> based Java code in the normal way to connect to databases. There is nothing
> specific to MSF4J.
>

Here[1] is a complete JPA sample, if you want to use JDBC just replace
this[2] class using JDBC code instead of JPA code.

[1] - https://github.com/wso2/msf4j/tree/master/samples/jpa
[2] -
https://github.com/wso2/msf4j/blob/master/samples/jpa/src/main/java/org/wso2/msf4j/example/dao/AbstractRepository.java

Thanks !


>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email:**[email protected]* <[email protected]>
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog:*
> *http://blog.afkham.org* <http://blog.afkham.org>
> *twitter:**http://twitter.com/afkham_azeez*
> <http://twitter.com/afkham_azeez>
> *linked-in:**http://lk.linkedin.com/in/afkhamazeez
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sagara Gunathunga

Architect; WSO2, Inc.;  http://wso2.com
V.P Apache Web Services;    http://ws.apache.org/
Linkedin; http://www.linkedin.com/in/ssagara
Blog ;  http://ssagara.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to