java.sql.SQLException

Unexpected token: YEAR in statement [CREATE TABLE "CROP_PLANS" ( id INTEGER IDENTITY, plan_name VARCHAR(256) year]

Samebug tips0

There are no available Samebug tips.

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

Solutions on the web393

  • via by lookie,
  • via by Unknown author,
  • Stack trace

    • java.sql.SQLException: Unexpected token: YEAR in statement [CREATE TABLE "CROP_PLANS" ( id INTEGER IDENTITY, plan_name VARCHAR(256) year] at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source) at org.hsqldb.jdbc.jdbcStatement.executeUpdate(Unknown Source) at CPS.Core.DB.HSQLDBCreator.createTables(HSQLDBCreator.java:54) at CPS.Core.DB.HSQLConnect.connectToNew(HSQLConnect.java:152) at CPS.Core.DB.HSQLConnect.createDB(HSQLConnect.java:49) at CPS.Core.DB.HSQLDB.initAndUpdateDB(HSQLDB.java:81) at CPS.Core.DB.HSQLDB.<init>(HSQLDB.java:72) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at CPS.ModuleManager.loadPlugin(ModuleManager.java:121) at CPS.ModuleManager.loadPlugin(ModuleManager.java:84) at CPS.ModuleManager.getDM(ModuleManager.java:56) at CPS.CropPlanning.<init>(CropPlanning.java:57) at CPS.CropPlanning.main(CropPlanning.java:38)

    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 visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    11 more bugmates