You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Awasum Yannick <aw...@apache.org> on 2019/07/13 13:51:37 UTC

Issue with EclipseLink on Fineract CN?

Hi Graham,

Just looking at your weekly summary here:
https://mifosforge.jira.com/wiki/spaces/RES/pages/986742785/July+13+Weekly+Check-In+Meeting


"
What did you accomplish this past week?

Resolved Id null pointer error in the customer service tables (to replicate
solutions for other microservices)
Read on how to use PseudoTypes to execute database level sequence
generation in postgrespostgresql
Investigated into  a bug in eclipselink 2.7.4 ( Error: Caused by:
java.lang.SecurityException: class "javax.persistence.SynchronizationType")
Generated Notification API Documentation and made it available for FINCN
Mobile interns
Reported :https://bugs.eclipse.org/bugs/show_bug.cgi?id=549241

What will you do this upcoming week?

Develop a workaround the Security Exception
Make a test script available for the community to test
Put for a discussion around the method around to get feedback from the
community

What obstacles are impeding your progress?

a bug in eclipselink ( Error: Caused by: java.lang.SecurityException: class
"javax.persistence.SynchronizationType")

Would you like help from some mentor for this task?

Yes. To help craft a workaround the bug
"

Have you had help? What is the issue? Is there a PR we can look at?

I dont understand from the details above.

Re: Issue with EclipseLink on Fineract CN?

Posted by Awasum Yannick <ya...@gmail.com>.
Thank you and keep up the good work Graham.

Maybe u will send PRs soon so we can all test.

That was fast.

On Sun, Jul 14, 2019, 05:47 Ebenezer Graham <eb...@gmail.com>
wrote:

> Hi Yannick,
>
> I have been able to resolve this issue. All 13 microservices are now using
> EclipseLink as the ORM :)
>
> I changed the initial dependency I used from org.eclipse.persistence.jpa
> to the org.eclipse.persistence.eclipselink whiles trying to resolve an
> error with the EntityManagerFactory. This was a mistake on my part and this
> resulted in a security exception. I have clarified the issue in the meeting
> notes. Sorry for the initial typos.
>
> The eclipselink artefact introduced a bug which I have reported to the
> EclipseLink team. Luckily for us, we do not need to worry about this issue
> because we don't need the eclipse artefact to begin with.
>
> According to the implementation guide on Baeldung (
> https://www.baeldung.com/spring-eclipselink) we have to use
> org.eclipse.persistence.jpa
> <https://mvnrepository.com/artifact/org.eclipse.persistence/org.eclipse.persistence.jpa>
>
> Cheers
>
> On Sat, Jul 13, 2019 at 5:51 PM Awasum Yannick <aw...@apache.org> wrote:
>
>> Hi Graham,
>>
>> Just looking at your weekly summary here:
>> https://mifosforge.jira.com/wiki/spaces/RES/pages/986742785/July+13+Weekly+Check-In+Meeting
>>
>>
>> "
>> What did you accomplish this past week?
>>
>> Resolved Id null pointer error in the customer service tables (to
>> replicate solutions for other microservices)
>> Read on how to use PseudoTypes to execute database level sequence
>> generation in postgrespostgresql
>> Investigated into  a bug in eclipselink 2.7.4 ( Error: Caused by:
>> java.lang.SecurityException: class "javax.persistence.SynchronizationType")
>> Generated Notification API Documentation and made it available for FINCN
>> Mobile interns
>> Reported :https://bugs.eclipse.org/bugs/show_bug.cgi?id=549241
>>
>> What will you do this upcoming week?
>>
>> Develop a workaround the Security Exception
>> Make a test script available for the community to test
>> Put for a discussion around the method around to get feedback from the
>> community
>>
>> What obstacles are impeding your progress?
>>
>> a bug in eclipselink ( Error: Caused by: java.lang.SecurityException:
>> class "javax.persistence.SynchronizationType")
>>
>> Would you like help from some mentor for this task?
>>
>> Yes. To help craft a workaround the bug
>> "
>>
>> Have you had help? What is the issue? Is there a PR we can look at?
>>
>> I dont understand from the details above.
>>
>>
>>
>>
>>
>
> --
>
> *Best Regards,*
>
> *Ebenezer Graham*
>
> *BSc (Hons) Computing*
>
>
> [image: EmailSignature.png]
>
>
> <http://www.pactmart.com/>
> GitHub <https://ebenezergraham.me> | LinkedIn
> <https://www.linkedin.com/in/ebenezer-graham/> | Personal Website
> <https://ebenezergraham.me>
> ​
> skype:
> ​ebenezer.graham
> ​ | Phone:
> +230 5840 9206 <+230%205840%209206>
>
>
> *“Talk is cheap, show me the Code” *- *Linus Torvalds*
>
>

Re: Issue with EclipseLink on Fineract CN?

Posted by Ebenezer Graham <eb...@gmail.com>.
Hi Yannick,

I have been able to resolve this issue. All 13 microservices are now using
EclipseLink as the ORM :)

I changed the initial dependency I used from org.eclipse.persistence.jpa to
the org.eclipse.persistence.eclipselink whiles trying to resolve an error
with the EntityManagerFactory. This was a mistake on my part and this
resulted in a security exception. I have clarified the issue in the meeting
notes. Sorry for the initial typos.

The eclipselink artefact introduced a bug which I have reported to the
EclipseLink team. Luckily for us, we do not need to worry about this issue
because we don't need the eclipse artefact to begin with.

According to the implementation guide on Baeldung (
https://www.baeldung.com/spring-eclipselink) we have to use
org.eclipse.persistence.jpa
<https://mvnrepository.com/artifact/org.eclipse.persistence/org.eclipse.persistence.jpa>

Cheers

On Sat, Jul 13, 2019 at 5:51 PM Awasum Yannick <aw...@apache.org> wrote:

> Hi Graham,
>
> Just looking at your weekly summary here:
> https://mifosforge.jira.com/wiki/spaces/RES/pages/986742785/July+13+Weekly+Check-In+Meeting
>
>
> "
> What did you accomplish this past week?
>
> Resolved Id null pointer error in the customer service tables (to
> replicate solutions for other microservices)
> Read on how to use PseudoTypes to execute database level sequence
> generation in postgrespostgresql
> Investigated into  a bug in eclipselink 2.7.4 ( Error: Caused by:
> java.lang.SecurityException: class "javax.persistence.SynchronizationType")
> Generated Notification API Documentation and made it available for FINCN
> Mobile interns
> Reported :https://bugs.eclipse.org/bugs/show_bug.cgi?id=549241
>
> What will you do this upcoming week?
>
> Develop a workaround the Security Exception
> Make a test script available for the community to test
> Put for a discussion around the method around to get feedback from the
> community
>
> What obstacles are impeding your progress?
>
> a bug in eclipselink ( Error: Caused by: java.lang.SecurityException:
> class "javax.persistence.SynchronizationType")
>
> Would you like help from some mentor for this task?
>
> Yes. To help craft a workaround the bug
> "
>
> Have you had help? What is the issue? Is there a PR we can look at?
>
> I dont understand from the details above.
>
>
>
>
>

-- 

*Best Regards,*

*Ebenezer Graham*

*BSc (Hons) Computing*


[image: EmailSignature.png]


<http://www.pactmart.com/>
GitHub <https://ebenezergraham.me> | LinkedIn
<https://www.linkedin.com/in/ebenezer-graham/> | Personal Website
<https://ebenezergraham.me>
​
skype:
​ebenezer.graham
​ | Phone:
+230 5840 9206 <+230%205840%209206>


*“Talk is cheap, show me the Code” *- *Linus Torvalds*