net.sf.hibernate.id.IdentifierGenerationException

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

Solutions on the web2

  • via java2s.com by Unknown author, 9 months ago
    could not read a hi value - you need to populate the table: hibernate_unique_key
  • via Coderanch by Bhushan Garud, 7 months ago
    could not read a hi value - you need to populate the table: hibernate_unique_key
  • Stack trace

    • 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(TableGenerator.java:97) at net.sf.hibernate.id.TableHiLoGenerator.generate(TableHiLoGenerator.java:59) at net.sf.hibernate.impl.SessionImpl.save(SessionImpl.java:599) at com.hibernate.project.CDTest$3.actionPerformed(CDTest.java:132) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.