javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [insurance] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class org.simberg.datastructures.entity.PaymentGraph] uses a non-entity [class org.simberg.datastructures.entity.Contract] as target entity in the relationship attribute [field contract].

Stack Overflow | Jack Daniel | 3 months ago
  1. 0

    EclipseLink: Predeployment of PersistenceUnit failed

    Stack Overflow | 3 months ago | Jack Daniel
    javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [insurance] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class org.simberg.datastructures.entity.PaymentGraph] uses a non-entity [class org.simberg.datastructures.entity.Contract] as target entity in the relationship attribute [field contract].
  2. 0

    JPA fails with ValidationException recognizing @Id inherited from @MappedSuperclass

    Eclipse Bugzilla | 3 years ago | riediger
    javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [orders-pu] failed. Internal Exception: Exception [EclipseLink-7161] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.ValidationException Exception Description: Entity class [class orders.persistence.entities.Item] has no primary key specified. It should define either an @Id, @EmbeddedId or an @IdClass. If you have defined PK using any of these annotations then make sure that you do not have mixed access-type (both fields and properties annotated) in your entity class hierarchy.
  3. 0

    java - Class [org.apache.derby.jdbc.ClientDriver] not found

    Stack Overflow | 3 years ago | pshemek
    javax.persistence.PersistenceException: Exception [EclipseLink-4003] (Eclipse Persistence Services - 2.5.1.v20130918-f2b9fc5): org.eclipse.persistence.exceptions.DatabaseException Exception Description: Configuration error. Class [org.apache.derby.jdbc.ClientDriver] not found.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    EclipseLink cannot find entity in OneToMany relationship

    Stack Overflow | 3 years ago | Overlord_Dave
    javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [Parent] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class com.test.Parent] uses a non-entity [class com.test.Child] as target entity in the relationship attribute [field children].
  6. 0

    JPA entity class and SQL query to retrieve Data from MySQL

    Stack Overflow | 2 years ago | user3185161
    javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [as] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class databaseController.Specific] uses a non-entity [class databaseController.Sauce] as target entity in the relationship attribute [field souce].

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.persistence.PersistenceException

      Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [insurance] failed. Internal Exception: Exception [EclipseLink-7250] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.ValidationException Exception Description: [class org.simberg.datastructures.entity.PaymentGraph] uses a non-entity [class org.simberg.datastructures.entity.Contract] as target entity in the relationship attribute [field contract].

      at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createPredeployFailedPersistenceException()
    2. EclipseLink (non-OSGi)
      PersistenceProvider.createEntityManagerFactory
      1. org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.createPredeployFailedPersistenceException(EntityManagerSetupImpl.java:1950)
      2. org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:1941)
      3. org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.callPredeploy(JPAInitializer.java:98)
      4. org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactoryImpl(PersistenceProvider.java:96)
      5. org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:177)
      5 frames
    3. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:79)
      2. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:54)
      2 frames
    4. org.simberg.configuration
      EntityManagerConfigurator.getFactory
      1. org.simberg.configuration.EntityManagerConfigurator.getFactory(EntityManagerConfigurator.java:27)
      1 frame
    5. org.simberg.datastructures
      ReferenceData.init
      1. org.simberg.datastructures.entity.ReferenceData.getAll(ReferenceData.java:45)
      2. org.simberg.datastructures.entity.ReferenceData.init(ReferenceData.java:37)
      2 frames
    6. org.simberg.application
      App.main
      1. org.simberg.application.App.main(App.java:18)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    8. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame