com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown error 1049 Error Code: 1049 at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)

Stack Overflow | Dr Dave | 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

    Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown error 1049

    Stack Overflow | 7 months ago | Dr Dave
    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown error 1049 Error Code: 1049 at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)

    1 unregistered visitors

    Root Cause Analysis

    1. com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

      Unknown error 1049 Error Code: 1049 at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)

      at org.eclipse.persistence.exceptions.DatabaseException.sqlException()
    2. EclipseLink (non-OSGi)
      EntityManagerSetupImpl.deploy
      1. org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:326)
      2. org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138)
      3. org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162)
      4. org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:204)
      5. org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:741)
      6. org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239)
      7. org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:685)
      7 frames