org.hibernate.exception.SQLGrammarException: could not get next sequence value

openxava | patrick_kg | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Why an identity column as key is NULL

    openxava | 9 years ago | patrick_kg
    org.hibernate.exception.SQLGrammarException: could not get next sequence value
  2. 0

    Error al Grabar un nuevo registro

    openxava | 1 decade ago | saamondino
    org.hibernate.exception.SQLGrammarException: could not get next sequence value
  3. 0

    HSQLDB Sequence problem by fetching the next value (Object Relational Mapping forum at Coderanch)

    coderanch.com | 1 year ago
    org.hibernate.exception.SQLGrammarException: could not get next sequence value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    exception 1 « Exception « JPA Q&A

    java2s.com | 5 months ago
    org.hibernate.exception.SQLGrammarException: could not get next sequence value
  6. 0

    hibernate: could not get next sequence value

    Coderanch | 9 years ago | divya sharma
    org.hibernate.exception.SQLGrammarException: could not get next sequence value

    Root Cause Analysis

    1. org.hibernate.exception.SQLGrammarException

      could not get next sequence value

      at org.hibernate.exception.SQLStateConverter.convert()
    2. Hibernate
      SequenceGenerator.generate
      1. org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
      2. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      3. org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:96)
      3 frames
    3. Hibernate
      SessionImpl.save
      1. org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:99)
      2. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:187)
      3. org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:33)
      4. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:172)
      5. org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:27)
      6. org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:70)
      7. org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
      8. org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
      9. org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
      9 frames
    4. org.openxava.model
      MapFacade.create
      1. org.openxava.model.impl.HibernatePersistenceProvider.persist(HibernatePersistenceProvider.java:27)
      2. org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:148)
      3. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:704)
      4. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:42)
      5. org.openxava.model.MapFacade.create(MapFacade.java:78)
      5 frames
    5. org.openxava.actions
      SaveAction.execute
      1. org.openxava.actions.SaveAction.execute(SaveAction.java:27)
      1 frame
    6. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:328)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:257)
      3. org.openxava.controller.ModuleManager.execute(ModuleManager.java:224)
      3 frames