org.hibernate.id.IdentifierGenerationException

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.

  • org.hibernate.id.IdentifierGenerationException: null id generated for:class org.openxava.educational.model.Student at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:95) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:186) at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:175) at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70) at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:530) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:518) at org.hibernate.impl.SessionImpl.save(SessionImpl.java:514) at org.openxava.model.impl.HibernatePersistenceProvider.persist(HibernatePersistenceProvider.java:33) at org.openxava.model.impl.BasePOJOPersistenceProvider.create(BasePOJOPersistenceProvider.java:155) at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:629) at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:38) at org.openxava.model.MapFacade.create(MapFacade.java:73) at org.openxava.actions.SaveAction.execute(SaveAction.java:24) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:309) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:238) at org.openxava.controller.ModuleManager.execute(ModuleManager.java:205)
No Bugmate found.