Re: Moving Towards Apache Compliance for Fineract CN: Hibernate to OpenJPA Migration.
This is a critical topic that Yannick has raised and I want to elevate it
once again to the inboxes of our community and namely our committers so
they can weigh in.
On Mon, Mar 12, 2018 at 10:24 AM, Ed Cable <edcable@xxxxxxxxx> wrote:
> Thanks Yannick for initiating progress on this important topic and doing
> some initial analysis and giving some early recommendations. I'll try and
> get word out to some of the folks who worked on the previous Hibernate to
> OpenJPA migration as well.
> On Sat, Mar 10, 2018 at 8:29 AM, Awasum Yannick <awasum@xxxxxxxxxx> wrote:
>> Hello Everyone,
>> I am hoping we could take some time to discuss and come up with approaches
>> for achieving full Apache compliance on the Fineract CN project.
>> I think there are still dependencies on Fineract CN which need some
>> attention in terms of checking the licenses and making sure they are
>> compliant with the Apache license.
>> To that end, I began looking at the Microservices and checking the license
>> of each dependency in accordance with this list:
>> Within the mariadb component, i realized that the
>> *mariadb-java-client* uses LGPL 2.1
>> (Is this compliant with the Apache license? ).
>> I don't know if there are other dependencies which are not Apache
>> compliant like the known case: Hibernate.
>> To migrate Fineract CN from using Hibernate to using OpenJPA, we might do
>> the following:
>> * Replace the Hibernate Validator with something more Apache compliant
>> or a corresponding OpenJPA library if such exists.
>> * Configure and set the LocalContainerEntityManagerFactoryBean ( within
>> n )
>> to use the right JpaVendorAdapter ( OpenJPAs own equivalent of
>> HibernateJpaVendorAdapter ) within mariadb component. And also the set
>> right properties for OpenJPA ( peristence unit etc ).
>> I will like more experienced developers/architects in the community weigh
>> in and provide additional details which will enable the gradual migration
>> from Hibernate to OpenJPA and to get other non-compliant dependencies
>> migrated too. From this point, volunteers can pick this up and make
>> Awasum Yannick.
> *Ed Cable*
> President/CEO, Mifos Initiative
> edcable@xxxxxxxxx | Skype: edcable | Mobile: +1.484.477.8649
> *Collectively Creating a World of 3 Billion Maries | *http://mifos.org
> <http://facebook.com/mifos> <http://www.twitter.com/mifos>
President/CEO, Mifos Initiative
edcable@xxxxxxxxx | Skype: edcable | Mobile: +1.484.477.8649
*Collectively Creating a World of 3 Billion Maries | *http://mifos.org