Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. SessionImpl.firePersist() has thrown an IdentifierGenerationException
    Hibernate Core
    1
    0
    0
  2. AbstractSaveEventListener.saveWithGeneratedId() has thrown an IdentifierGenerationException
    Hibernate Core
    1
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.hibernate.id.IdentifierGenerationException: null id generated for:class com.jpa.project.model.domain.Item
4 matching frames hidden
    at org.hibernate.event.internal.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:58)
    at org.hibernate.internal.SessionImpl.firePersist(SessionImpl.java:762)

External results for this pattern (1)

  1. user122090via Stack Overflow4 months ago
    org.hibernate.id.IdentifierGenerationException: null id generated for:class com.jpa.project.model.domain.Item
    Show stack trace