Okay! Let's use latest Apache OpenJPA.

On Fri, Jun 26, 2015 at 1:52 PM, Jane Mariathas <j...@wso2.com> wrote:

> Hi Isuru,
>
> I referred to this following link ,
>
> http://stackoverflow.com/questions/576659/jpa-implementations-which-one-is-the-best-to-use
> it may be the earlier release. I'll check the latest release .
>
> Thanks ,
>
> On Fri, Jun 26, 2015 at 12:58 PM, Isuru Perera <is...@apache.org> wrote:
>
>> Hi Jane,
>>
>> Spring Data JPA is just helping you to implement data access layer
>> easily. You will still have to choose a JPA implementation.
>>
>> I don't think we can easily use Spring projects with WSO2 Carbon
>> Components. In the past, we have tried to stay away from using Spring
>> framework in our code. You can try using Spring Data JPA. I also have
>> experience using Spring Data JPA and it certainly helps to write code very
>> efficiently and quickly.
>>
>> I'm not sure why you say Apache OpenJPA is buggy. It's an active project
>> and the recently release is on May 5 [1]. It might had many bugs in earlier
>> releases, but I think we can use latest OpenJPA for Stratos requirements.
>>
>> Thanks!
>>
>> Best Regards,
>>
>> [1] https://github.com/apache/openjpa/releases
>>
>> On Fri, Jun 26, 2015 at 12:02 PM, Jane Mariathas <j...@wso2.com> wrote:
>>
>>> Hi Isuru
>>>
>>> I read about Apache Open JPA but most of them said like it has best
>>> documentation but seems very buggy. That is why asked whether to use Spring
>>> Data JPA it has the license to ASLv2
>>>
>>>
>>> On Fri, Jun 26, 2015 at 11:22 AM, Isuru Perera <is...@apache.org> wrote:
>>>
>>>> +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
>>>>
>>>
>>>
>>>
>>> --
>>> Jane Aarthy Mariathas
>>> *Intern*,Software Engineering
>>> j...@wso2.com
>>>
>>
>>
>>
>> --
>> Isuru Perera
>> Associate Technical Lead | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>
>
> --
> Jane Aarthy Mariathas
> *Intern*,Software Engineering
> j...@wso2.com
>



-- 
Isuru Perera
Associate Technical Lead | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Reply via email to