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 openxava by pearlbuk
, 1 year ago
null id generated for:class org.openxava.educational.model.Student
via Stack Overflow by Mike Lively
, 2 years ago
null id generated for:class com.sellingsource.bizdev.entities.LeadAffiliate
via hibernate.org by Unknown author, 2 years ago
org.hibernate.id.IdentifierGenerationException: null id generated for:class iland.hbm.BillProductDetails	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:123)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:117)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)	at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:685)	at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:677)	at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:252)	at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:392)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:335)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:204)	at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:425)	at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:362)	at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:338)	at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:204)	at org.hibernate.engine.Cascade.cascade(Cascade.java:161)	at org.hibernate.event.def.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:475)	at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:353)	at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:203)	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:129)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:210)	at org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:56)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:195)	at org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:50)	at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93)	at org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:713)	at org.hibernate.impl.SessionImpl.save(SessionImpl.java:701)	at org.hibernate.impl.SessionImpl.save(SessionImpl.java:697)	at iland.bill.BillDAO.insert(BillDAO.java:30)	at iland.bill.BillNewAction.main(BillNewAction.java:76)