Android eclipseLink jpa error

280
August 13, 2017, at 2:29 PM

Trying to use JPA(eclipseLInk 2.6.4) on android, get error when creating an EntityManagerFactory

java.lang.ExceptionInInitializerError
at org.eclipse.persistence.internal.helper.ClassConstants.<clinit>(ClassConstants.java:64)
at org.eclipse.persistence.internal.helper.ConversionManager.convertObject(ConversionManager.java:98)
                                                                                   at 
org.eclipse.persistence.logging.AbstractSessionLog.getDateString(AbstractSessionLog.java:797)
                                                                                   at 
org.eclipse.persistence.logging.AbstractSessionLog.getSupplementDetailString(AbstractSessionLog.java:808)
                                                                                   at 
org.eclipse.persistence.logging.DefaultSessionLog.log(DefaultSessionLog.java:139)
                                                                                   at 
org.eclipse.persistence.logging.AbstractSessionLog.logThrowable(AbstractSessionLog.java:1132)
                                                                                   at 
org.eclipse.persistence.internal.helper.XMLHelper.createParserFactory(XMLHelper.java:104)
                                                                                   at 
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processPersistenceXML(PersistenceUnitProcessor.java:628)
                                                                                   at 
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.processPersistenceArchive(PersistenceUnitProcessor.java:617)
                                                                                   at 
org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.getPersistenceUnits(PersistenceUnitProcessor.java:503)
                                                                                   at 
org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.findPersistenceUnitInfoInArchive(JPAInitializer.java:178)
                                                                                   at 
org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.findPersistenceUnitInfoInArchives(JPAInitializer.java:160)
                                                                                   at 
org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.findPersistenceUnitInfo(JPAInitializer.java:141)
                                                                                   at 
org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:188)
                                                                                   at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)

anyone successfully uses JPA on android?

READ ALSO
NDK porting c++ to android runtime fault

NDK porting c++ to android runtime fault

i'm new here, i was trying port c++ game server code from windows to android armeabi-v7a but i came across this alert from android ndk, the process should continue to run because it is a server:

289
Set build.gradle value to a value set in xml file

Set build.gradle value to a value set in xml file

Is there away to set a variable in the buildgradle file to a value set in the strings

260
Set xml `string` tag value to that of another

Set xml `string` tag value to that of another

Is there a way to set the value of an xml string tag value to include that of another string tag valueThe idea is like this:

170
How do I add Pagination to recyclerview onscrolllistener?

How do I add Pagination to recyclerview onscrolllistener?

I am too new to the Android ProgrammingI am trying to build an Image Gallery App, but I am stuck with RecyclerView

358