+1 for using JPA. I think we can use Apache OpenJPA. I have used both Hibernate and OpenJPA. Both are excellent projects. Due to license issues, we may not be able to use Hibernate.
I don't know much about other projects mentioned here. We must select a project implementing the Java Persistence specification. Thanks! On Fri, Jun 26, 2015 at 11:09 AM, Gayan Gunarathne <gay...@wso2.com> wrote: > I think we can have a look at JPA also. But I have seen JPA tends to use > the hibernate entity manager with h2,mysql databases[1] . I think we may > need to check on this. > > Also seems like Apache Cayenne good object-relational mapping > framework[2]. Gora is specially focused at NoSQL data stores, but also it > has support for SQL databases also.[3] > > As Imesh mention we can do a review on JPA,Apache Cayenne and Apache Gora > and analyse what will be most suited for our requirement. > > [1]http://www.javacodegeeks.com/2015/02/jpa-tutorial.html > [2]http://cayenne.apache.org/ > [3]http://gora.apache.org/current/tutorial.html > > Thanks, > Gayan > > > On Fri, Jun 26, 2015 at 10:26 AM, Imesh Gunaratne <im...@apache.org> > wrote: > >> Shall we use a JPA implementation, may be Java EE? >> http://www.oracle.com/technetwork/articles/java/jpa-137156.html >> >> On Fri, Jun 26, 2015 at 10:05 AM, Imesh Gunaratne <im...@apache.org> >> wrote: >> >>> Hi Jane, >>> >>> LGPL is not compatible with Apache2 therefore we might not be able to >>> ship Hibernate with Stratos: >>> http://www.apache.org/legal/resolved.html >>> >>> I haven't worked with Gora or Cayenne, shall we do a review with several >>> other options? >>> >>> Thanks >>> >>> >>> >>> On Fri, Jun 26, 2015 at 9:26 AM, Jane Mariathas <j...@wso2.com> wrote: >>> >>>> Hi, >>>> >>>> To persist data with database in Stratos I'm planning to use ORM >>>> framework in that I have chosen some softwares like Hibernate ,Apache Gora >>>> , Apache Cayenne. >>>> >>>> License of these softwares are , >>>> >>>> Hibernate has LGPL 2.1 and ASL 2.0 >>>> >>>> Apache Gora has ASLv2,AGPLv3,CDDLv1,FDLv13,GPL v1 to v3 ,LGPLv21 and >>>> LGPLv3 >>>> >>>> Apache Cayenne licensed under apache >>>> >>>> Can anyone help me to choose a suitable software to use with Stratos. >>>> >>>> Thanks, >>>> -- >>>> Jane Aarthy Mariathas >>>> *Intern*,Software Engineering >>>> j...@wso2.com >>>> >>> >>> >>> >>> -- >>> Imesh Gunaratne >>> >>> Senior Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> Imesh Gunaratne >> >> Senior Technical Lead, WSO2 >> Committer & PMC Member, Apache Stratos >> > > > > -- > > Gayan Gunarathne > Technical Lead, WSO2 Inc. (http://wso2.com) > Committer & PMC Member, Apache Stratos > email : gay...@wso2.com | mobile : +94 766819985 > > > -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean . Enterprise . Middleware about.me/chrishantha