Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Tp Chan, 1 year ago
[PersistenceUnit: XXXXXXJpa] Unable to build EntityManagerFactory
via Stack Overflow by Manoj Kumar
, 2 years ago
[PersistenceUnit: Star] Unable to build EntityManagerFactory
via Stack Overflow by AbhijitG
, 1 year ago
[PersistenceUnit: Eclipselink_JPA] Unable to build EntityManagerFactory
via csdn.net by Unknown author, 2 years ago
[PersistenceUnit: exam-entity] Unable to build EntityManagerFactory
javax.persistence.PersistenceException: [PersistenceUnit: XXXXXXJpa] Unable to build EntityManagerFactory at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:103) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[rt.jar:1.7.0_55] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[rt.jar:1.7.0_55] at java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_55] at org.jboss.threads.JBossThread.run(JBossThread.java:122)Caused by: javax.persistence.PersistenceException: [PersistenceUnit: XXXXXXJpa] Unable to build EntityManagerFactory at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:924) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:899) at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:76) at net.bull.javamelody.JpaPersistence.createContainerEntityManagerFactory(JpaPersistence.java:131) 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 moreCaused by: org.hibernate.MappingException: Repeated column in mapping for entity: XXXXXX.jpa.model.YYYYY column: TRANSACTION_ID (should be mapped with insert="false" update="false") at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:696) at org.hibernate.mapping.PersistentClass.checkPropertyColumnDuplication(PersistentClass.java:718) at org.hibernate.mapping.PersistentClass.checkColumnDuplication(PersistentClass.java:740) at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:493) at org.hibernate.mapping.RootClass.validate(RootClass.java:270) at org.hibernate.cfg.Configuration.validate(Configuration.java:1327) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1789) at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:96) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914) ... 10 more