com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1191

  • Unknown error 1049 Error Code: 1049 at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:331)
  • Unknown database 'vision-mil2' Error Code: 1049
  • Unknown column 't0.traveller_id' in 'where clause' Error Code: 1054 Call: SELECT t1.id, t1.arrivalDateToThailand, t1.enabled, t1.lengthToStay, t1.placeToStayCity, t1.placeToStayPostCode, t1.placeToStayStreet, t1.returnDateFromThailand, t1
  • Stack trace

    • 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(DatabaseException.java:326) at org.eclipse.persistence.sessions.DefaultConnector.connect(DefaultConnector.java:138) at org.eclipse.persistence.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:162) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.setOrDetectDatasource(DatabaseSessionImpl.java:204) at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:741) at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:239) at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:685)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago