java.sql.SQLException

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.

  • Re: Error creating FKs on HSQLDB with DBSQLScript.run
    via by Francis De Brabandere,
  • Re: Error creating FKs on HSQLDB with DBSQLScript.run
    via by Francis De Brabandere,
  • Trying to deploy Railo as war file | JBoss Developer
    via by Unknown author,
  • Java SQL-statement problems
    via Stack Overflow by iHank
    ,
    • java.sql.SQLException: Primary or unique constraint required on main table: VOTERS in statement [-- creating foreign key constraint absentee_ballo_registrant_i_FK -- ALTER TABLE absentee_ballots ADD CONSTRAINT absentee_ballo_registrant_i_FK FOREIGN KEY (registrant_id) REFERENCES voters (id)] at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source) at org.apache.empire.db.DBDatabaseDriver.executeSQL(DBDatabaseDriver.java:552) at org.apache.empire.db.DBSQLScript.run(DBSQLScript.java:120)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    11 more bugmates