Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JPA error when using Eclipselink with plugin

sri.sankaran November 9, 2011

I am developing a plugin targeting JIRA 4.4.3.

The plugin's execute method does some database operations to invoke an Oracle database. The interaction with the database is handled using Eclipselink. I have the necessary JAR files specified in my project's POM. These get bundled in the plugin JAR. The JPA persistence.xml is in its proper place in the META-INF.

However when the plugin is invoked I get the error

javax.persistence.PersistenceException: No Persistence provider for EntityManager named IpdPU

Any idea what might be causing it? I have heard that you can have problems referencing a JAR that's within a JAR. If that is the case how can I make the Eclipselink & related JARs available to my plugin's logic?

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
LukasG June 15, 2015

how did you solve this?

0 votes
ohmkaar kambhampati
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2013

Im running into same problem too. Any quick pointers?

TAGS
AUG Leaders

Atlassian Community Events