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 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    Stack Overflow | 6 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