com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'SEQUENCE' already exists Error Code: 1050 Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)) Query: DataModifyQuery()

eclipse.org | 9 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

    [eclipselink-dev] Build Failed - EclipseLink Bootstrap Automated Builds

    eclipse.org | 1 year ago
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'SEQUENCE' already exists Error Code: 1050 Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)) Query: DataModifyQuery()
  2. 0

    Re: [eclipselink-dev] Build Failed - EclipseLink Bootstrap Automated Bui

    eclipse.org | 9 months ago
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'SEQUENCE' already exists Error Code: 1050 Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)) Query: DataModifyQuery()
  3. 0

    RE: [eclipselink-dev] FAILED - Nightly Build - EclipseLink Automated Bui

    eclipse.org | 1 year ago
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'SEQUENCE' already exists Error Code: 1050 Call: CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY KEY (SEQ_NAME)) Query: DataModifyQuery()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.hibernate.exception.SQLGrammarException: could not insert, hibernate with mysql

    Stack Overflow | 4 years ago | Java Player
    com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long, lat, is_found, missing_name, missing_age, is_person) values ('immfarag@gam' at line 1
  6. 0

    single table inheritance in hibernat showing SQL grammer exception

    Stack Overflow | 4 years ago | The good the bad the ugly
    org.hibernate.exception.SQLGrammarException: could not execute statement

    1 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.MySQLSyntaxErrorException

      Table 'SEQUENCE' already exists

      at com.mysql.jdbc.SQLError.createSQLException()
    2. MySQL jdbc
      PreparedStatement.executeUpdate
      1. com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
      2. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
      3. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
      4. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
      5. com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
      6. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
      7. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
      8. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
      9. com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)
      9 frames
    3. EclipseLink (non-OSGi)
      TableCreator.replaceTables
      1. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:748)
      2. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:823)
      3. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:557)
      4. org.eclipse.persistence.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:500)
      5. org.eclipse.persistence.sessions.server.ServerSession.executeCall(ServerSession.java:522)
      6. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:205)
      7. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:191)
      8. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelectCall(DatasourceCallQueryMechanism.java:234)
      9. org.eclipse.persistence.internal.queries.DatasourceCallQueryMechanism.executeNoSelect(DatasourceCallQueryMechanism.java:214)
      10. org.eclipse.persistence.queries.DataModifyQuery.executeDatabaseQuery(DataModifyQuery.java:66)
      11. org.eclipse.persistence.queries.DatabaseQuery.execute(DatabaseQuery.java:647)
      12. org.eclipse.persistence.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2234)
      13. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1190)
      14. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1174)
      15. org.eclipse.persistence.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1120)
      16. org.eclipse.persistence.internal.sessions.AbstractSession.executeNonSelectingCall(AbstractSession.java:889)
      17. org.eclipse.persistence.tools.schemaframework.DatabaseObjectDefinition.createOnDatabase(DatabaseObjectDefinition.java:81)
      18. org.eclipse.persistence.tools.schemaframework.SchemaManager.createObject(SchemaManager.java:187)
      19. org.eclipse.persistence.tools.schemaframework.SchemaManager.processDatabaseObjectDefinition(SchemaManager.java:365)
      20. org.eclipse.persistence.tools.schemaframework.SchemaManager.processTableDefinitions(SchemaManager.java:326)
      21. org.eclipse.persistence.tools.schemaframework.SchemaManager.createOrReplaceSequences(SchemaManager.java:258)
      22. org.eclipse.persistence.tools.schemaframework.SchemaManager.createOrReplaceSequences(SchemaManager.java:225)
      23. org.eclipse.persistence.tools.schemaframework.SchemaManager.createSequences(SchemaManager.java:206)
      24. org.eclipse.persistence.tools.schemaframework.TableCreator.replaceTables(TableCreator.java:250)
      25. org.eclipse.persistence.tools.schemaframework.TableCreator.replaceTables(TableCreator.java:240)
      25 frames
    4. org.eclipse.persistence
      JPAAdvPropertiesJUnitTestCase.testSetup
      1. org.eclipse.persistence.testing.tests.jpa.jpaadvancedproperties.JPAAdvPropertiesJUnitTestCase.testSetup(JPAAdvPropertiesJUnitTestCase.java:71)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      4. java.lang.reflect.Method.invoke(Method.java:599)
      4 frames
    6. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      2 frames
    7. org.eclipse.persistence
      JUnitTestCase.runBare
      1. org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:357)
      1 frame
    8. JUnit
      TestSuite.run
      1. junit.framework.TestResult$1.protect(TestResult.java:106)
      2. junit.framework.TestResult.runProtected(TestResult.java:124)
      3. junit.framework.TestResult.run(TestResult.java:109)
      4. junit.framework.TestCase.run(TestCase.java:120)
      5. junit.framework.TestSuite.runTest(TestSuite.java:230)
      6. junit.framework.TestSuite.run(TestSuite.java:225)
      7. junit.framework.TestSuite.runTest(TestSuite.java:230)
      8. junit.framework.TestSuite.run(TestSuite.java:225)
      8 frames
    9. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766)
      3 frames