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

Coderanch | Mathew Lee | 7 years ago
  1. 0

    Hibernate project Exception

    Coderanch | 7 years ago | Mathew Lee
    org.hibernate.exception.SQLGrammarException: could not get next sequence value
  2. 0

    SQLGrammarException: could not get next sequence value (Object Relational Mapping forum at JavaRanch)

    coderanch.com | 1 year ago
    org.hibernate.exception.SQLGrammarException: could not get next sequence value
  3. 0

    Hibernate SQLException

    Stack Overflow | 1 year ago | Tipsterul
    org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How do I call database sequence in ODI

    Oracle Community | 8 years ago | 485470
    java.sql.SQLException: ORA-02289: sequence does not exist
  6. 0

    Openbravo won't run.

    openbravo | 10 years ago | kchopein
    java.sql.SQLException: ORA-00907: falta el paréntesis derecho

    12 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.sql.SQLException

      ORA-02289: sequence does not exist

      at oracle.jdbc.driver.DatabaseError.throwSqlException()
    2. Oracle jdbc
      OraclePreparedStatement.executeQuery
      1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
      2. oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
      3. oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
      4. oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:742)
      5. oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
      6. oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:812)
      7. oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1048)
      8. oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:853)
      9. oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1153)
      10. oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3369)
      11. oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3414)
      11 frames
    3. Hibernate
      SequenceGenerator.generate
      1. org.hibernate.id.SequenceGenerator.generate(SequenceGenerator.java:75)
      1 frame
    4. 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
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:615)
      4 frames
    6. Hibernate
      ThreadLocalSessionContext$TransactionProtectionWrapper.invoke
      1. org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:301)
      1 frame
    7. Unknown
      $Proxy5.save
      1. $Proxy5.save(Unknown Source)
      1 frame
    8. roseindia
      CreateData.main
      1. roseindia.CreateData.main(CreateData.java:21)
      1 frame