javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services – 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [testJPAPU] failed. Internal Exception: Exception [EclipseLink-7298] (Eclipse Persistence Services – 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: The mapping [product] from the embedded ID class [class model.ProductItemPk] is an invalid mapping for this class. An embeddable class that is used with an embedded ID specification (attribute [pk] from the source [class model.ProductItem]) can only contain basic mappings. Either remove the non basic mapping or change the embedded ID specification on the source to be embedded.

wordpress.com | 2 months ago
  1. 0

    Mapping a many-to-many join table with extra column using JPA | Giannigar's Blog

    wordpress.com | 2 months ago
    javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services – 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [testJPAPU] failed. Internal Exception: Exception [EclipseLink-7298] (Eclipse Persistence Services – 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: The mapping [product] from the embedded ID class [class model.ProductItemPk] is an invalid mapping for this class. An embeddable class that is used with an embedded ID specification (attribute [pk] from the source [class model.ProductItem]) can only contain basic mappings. Either remove the non basic mapping or change the embedded ID specification on the source to be embedded.
  2. 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.
  3. 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].
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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].
  6. 0

    initializing jpa entitymanagerfactory in applicationscope bean in jsf 2

    Stack Overflow | 4 years ago | Prasad Kharkar
    javax.persistence.PersistenceException: Exception [EclipseLink-28018] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [PersonalProject] failed. Internal Exception: Exception [EclipseLink-7155] (Eclipse Persistence Services - 2.1.3.v20110304-r9073): org.eclipse.persistence.exceptions.ValidationException Exception Description: The type [class java.lang.Object] for the attribute [content] on the entity class [class com.justme.model.entities.Post] is not a valid type for a serialized mapping. The attribute type must implement the Serializable interface.

    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.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.EntityManagerSetupException Exception Description: Predeployment of PersistenceUnit [testJPAPU] failed. Internal Exception: Exception [EclipseLink-7298] (Eclipse Persistence Services – 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException Exception Description: The mapping [product] from the embedded ID class [class model.ProductItemPk] is an invalid mapping for this class. An embeddable class that is used with an embedded ID specification (attribute [pk] from the source [class model.ProductItem]) can only contain basic mappings. Either remove the non basic mapping or change the embedded ID specification on the source to be embedded.

      at org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources()
    2. EclipseLink (non-OSGi)
      PersistenceProvider.createEntityManagerFactory
      1. org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:126)
      2. org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:133)
      3. org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:65)
      3 frames
    3. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
      2. javax.persistence.Persistence.createEntityManagerFactory(Unknown Source)
      2 frames
    4. utils
      PersistanceUtilities.<init>
      1. utils.PersistanceUtilities.<init>(PersistanceUtilities.java:23)
      1 frame