javax.persistence.PersistenceException: [PersistenceUnit: main-db-MSSql] 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.

  • installing RM Server with FileMaker DB
    via by Unknown author,
  • JPA and multi modules Maven
    via Stack Overflow by Z A
    ,
  • Can't set up simple JPA
    via Stack Overflow by Amin
    ,
  • Persistence transaction-type value?
    via Stack Overflow by pierre tautou
    ,
    • javax.persistence.PersistenceException: [PersistenceUnit: main-db-MSSql] Unable to build EntityManagerFactory at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[rt.jar:1.8.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[rt.jar:1.8.0_65] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.8.0_65] at org.jboss.threads.JBossThread.run(JBossThread.java:122)[jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1] Caused by: javax.persistence.PersistenceException: [PersistenceUnit:main-db-MSSql]] Unable to build EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:925) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:900) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:200) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$600(PersistenceUnitServiceImpl.java:57) at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:99) ... 4 more Caused by: org.hibernate.HibernateException: Missing column: Name in MyDatabase.dbo.MyTable at org.hibernate.mapping.Table.validateColumns(Table.java:366) at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1307) at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:175) at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:514) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1854) at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:915) ... 9 more

    Users with the same issue

    Unknown visitor1 times, last one,
    nasimk
    nasimk2 times, last one,
    Unknown User
    Unknown User8 times, last one,
    davidvanlaatum
    davidvanlaatum5 times, last one,
    Tahir
    Tahir4 times, last one,
    13 more bugmates