bbatsov / spellbook-dictionary

Automatically exported from code.google.com/p/spellbook-dictionary
0 stars 0 forks source link

javax.persistence.PersistenceException: [PersistenceUnit: Spellbook] Unable to build EntityManagerFactory #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
javax.persistence.PersistenceException: [PersistenceUnit: Spellbook] Unable to 
build EntityManagerFactory
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:892)
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:48)
    at bg.drow.spellbook.core.service.AbstractPersistenceService.initEntityManager(AbstractPersistenceService.java:47)
    at bg.drow.spellbook.core.service.AbstractPersistenceService.<init>(AbstractPersistenceService.java:28)
    at bg.drow.spellbook.core.service.DictionaryServiceImpl.<init>(DictionaryServiceImpl.java:34)
    at bg.drow.spellbook.core.service.DictionaryServiceImpl.init(DictionaryServiceImpl.java:44)
    at bg.drow.spellbook.ui.desktop.SpellbookFrame.init(SpellbookFrame.java:194)
    at bg.drow.spellbook.ui.desktop.SpellbookApp$1.run(SpellbookApp.java:204)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: org.hibernate.HibernateException: Missing column: dictionary_id in 
SPELLBOOK.PUBLIC.STUDY_SETS
    at org.hibernate.mapping.Table.validateColumns(Table.java:277)
    at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1174)
    at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:139)
    at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:387)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1385)
    at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:954)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:883)
    ... 16 more

Original issue reported on code.google.com by spellboo...@gmail.com on 23 Aug 2010 at 5:33

GoogleCodeExporter commented 8 years ago

Original comment by lord...@gmail.com on 5 Sep 2010 at 8:05