org.hibernate.exception.SQLGrammarException

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.

  • Error al Grabar un nuevo registro
    via openxava by saamondino
    ,
  • exception 1 « Exception « JPA Q&A
    via by Unknown author,
  • hibernate: could not get next sequence value
    via by divya sharma,
  • Hibernate/Oracle Sequence not working
    via Stack Overflow by Paul
    ,
  • Could not execute JDBC batch update
    via Stack Overflow by Krish
    ,
    • org.hibernate.exception.SQLGrammarException: could not get next sequence value at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:96) at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:91) 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:156) at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:695) 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    2 more bugmates