javax.persistence.PersistenceException: [PersistenceUnit: persistenceUnit-dbre-ap] Unable to build EntityManagerFactory

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • BeanCreationException & JDBC errors
    via Stack Overflow by Jepix
    ,
  • View Forum Topic
    via by Unknown author,
    • javax.persistence.PersistenceException: [PersistenceUnit: persistenceUnit-dbre-ap] Unable to build EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74) at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:268) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) Caused by: org.hibernate.MappingException: property mapping has wrong number of columns: com.verient.infinipay.domain.apautomation.Vendor.contactInfoFk type: com.verient.infinipay.domain.apautomation.VendorContactInfo at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:465) at org.hibernate.mapping.RootClass.validate(RootClass.java:235) at org.hibernate.cfg.Configuration.validate(Configuration.java:1362) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1865) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906) ... 6 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    nasimk
    nasimk4 times, last one,
    kuldeep
    kuldeep16 times, last one,
    35 more bugmates