com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Gleißner-A.-0' for key 'PRIMARY'

Stack Overflow | Arby | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException

    Stack Overflow | 7 months ago | Arby
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'Gleißner-A.-0' for key 'PRIMARY'
  2. 0

    Strange behavior of hibernate

    Stack Overflow | 1 year ago | Md Faisal
    org.hibernate.tool.schema.spi.CommandAcceptanceException: Unable to execute command [drop table if exists USER_DETAILS]
  3. 0

    SQL exception on UPDATE HELP Plz

    GitHub | 5 years ago | Ageo
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'onlinetime' cannot be null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SQL Exception - duplicate entry error

    GitHub | 5 years ago | fultrim
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '187074' for key 1
  6. 0

    lb-chat Error.

    GitHub | 5 years ago | TheStriker0995
    com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Dupl icate entry '181502' for key 'PRIMARY'

  1. Kialandei 1 times, last 5 months ago
  2. tvrmsmith 2 times, last 7 months ago
  3. MethodCall 1 times, last 9 months ago
  4. Axelo 1 times, last 4 weeks ago
  5. DoktorDoener666 7 times, last 3 months ago
10 more registered users
45 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. com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException

    Duplicate entry 'Gleißner-A.-0' for key 'PRIMARY'

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  3. MySQL jdbc
    StatementImpl.execute
    1. com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
    2. com.mysql.jdbc.Util.getInstance(Util.java:387)
    3. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:934)
    4. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3966)
    5. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3902)
    6. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2526)
    7. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2673)
    8. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2545)
    9. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2503)
    10. com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:839)
    11. com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:739)
    11 frames
  4. mySQLInsert
    InsertPerson.main
    1. mySQLInsert.InsertPerson.main(InsertPerson.java:111)
    1 frame