net.sf.hibernate.id.IdentifierGenerationException: could not read a hi value - you need to populate the table: hibernate_unique_key

java2s.com | 1 month ago
  1. 0

    exception 1 « Exception « JPA Q&A

    java2s.com | 1 month ago
    net.sf.hibernate.id.IdentifierGenerationException: could not read a hi value - you need to populate the table: hibernate_unique_key
  2. 0

    this id generator generates long, integer, sh

    springframework | 1 decade ago | schanamolu
    net.sf.hibernate.id.IdentifierGenerationException: this id generator generates long, integer, short

    Root Cause Analysis

    1. net.sf.hibernate.id.IdentifierGenerationException

      could not read a hi value - you need to populate the table: hibernate_unique_key

      at net.sf.hibernate.id.TableGenerator.generate()
    2. net.sf.hibernate
      SessionImpl.save
      1. net.sf.hibernate.id.TableGenerator.generate(TableGenerator.java:97)
      2. net.sf.hibernate.id.TableHiLoGenerator.generate(TableHiLoGenerator.java:59)
      3. net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:599)
      3 frames
    3. com.hibernate.project
      CDTest$3.actionPerformed
      1. com.hibernate.project.CDTest$3.actionPerformed(CDTest.java:132)
      1 frame
    4. Java RT
      Component.processEvent
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      6. java.awt.Component.processMouseEvent(Unknown Source)
      7. javax.swing.JComponent.processMouseEvent(Unknown Source)
      8. java.awt.Component.processEvent(Unknown Source)
      8 frames