kodo.util.DataStoreException

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 'key, value) VALUES ('test', '50')' at line 1 {prepstmnt 849515 INSERT INTO ns_config (key, value) VALUES (?, ?) [reused=0]} [code=1064, state=42000]

Solutions on the web15

  • via Oracle Community by 3004, 1 year ago
    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 'key, value) VALUES ('test', '50')' at line 1 {prepstmnt 849515 INSERT INTO ns_config (key, value) VALUES (?, ?) [reused=0]} [code=1064, state=42000]
  • via Oracle Community by 3004, 2 weeks ago
    Unknown column 'Infinity' in 'field list' {prepstmnt 11147203 INSERT INTO variablesimple (ACTIVITYID, DIMENSION, IDENTIFIER, JDOID, MAXVALUE, MINVALUE, NAME0, SUCCESSIVEVALUES_JDOID, VARIATIONMODE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [reused=0]} [code=1054, state=42S22]
  • via Oracle Community by 3004, 2 weeks ago
    Unknown column 'Infinity' in 'field list' {prepstmnt 11147203 INSERT INTO variablesimple (ACTIVITYID, DIMENSION, IDENTIFIER, JDOID, MAXVALUE, MINVALUE, NAME0, SUCCESSIVEVALUES_JDOID, VARIATIONMODE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [reused=0]} [code=1054, state=42S22]
  • Stack trace

    • kodo.util.DataStoreException: 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 'key, value) VALUES ('test', '50')' at line 1 {prepstmnt 849515 INSERT INTO ns_config (key, value) VALUES (?, ?) [reused=0]} [code=1064, state=42000] at kodo.jdbc.sql.DBDictionary.newDataStoreException(DBDictionary.java:3400) at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:77) at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:63) at kodo.jdbc.sql.SQLExceptions.getDataStore(SQLExceptions.java:43) at kodo.jdbc.runtime.PreparedStatementManager.flush(PreparedStatementManager.java:210) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:220) at kodo.jdbc.runtime.UpdateManagerImpl.flush(UpdateManagerImpl.java:95) at kodo.jdbc.runtime.JDBCStoreManager.flush(JDBCStoreManager.java:614) at kodo.runtime.DelegatingStoreManager.flush(DelegatingStoreManager.java:153) at kodo.runtime.PersistenceManagerImpl.flush(PersistenceManagerImpl.java:1159) at kodo.runtime.PersistenceManagerImpl.flushSafe(PersistenceManagerImpl.java:1042) at kodo.runtime.PersistenceManagerImpl.beforeCompletion(PersistenceManagerImpl.java:969) at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:69) at kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:629) at reversetutorial.Finder.executeCreatQuery(Finder.java:108) at reversetutorial.Finder.main(Finder.java:44)

    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

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.