java.sql.SQLException: Unable to run stmt on object com.zoomabug.flashcards.item_and_category.ItemLearningData@303bc257: INSERT INTO `ItemLearningData` (`date_learn` ,`interval` ,`grade` ,`easiness` ,`acq_reps` ,`ret_reps` ,`lapses` ,`acq_reps_since_lapse` ,`ret_reps_since_lapse` ) VALUES (?,?,?,?,?,?,?,?,?)

ormlite | jaxelrod | 6 years ago
  1. 0

    generatedId is causing SQLException

    ormlite | 6 years ago | jaxelrod
    java.sql.SQLException: Unable to run stmt on object com.zoomabug.flashcards.item_and_category.ItemLearningData@303bc257: INSERT INTO `ItemLearningData` (`date_learn` ,`interval` ,`grade` ,`easiness` ,`acq_reps` ,`ret_reps` ,`lapses` ,`acq_reps_since_lapse` ,`ret_reps_since_lapse` ) VALUES (?,?,?,?,?,?,?,?,?)
  2. 0

    Left Join with scalaquery on sqlite

    Stack Overflow | 6 years ago | Mr_Qqn
    java.sql.SQLException: unrecognized token: "{"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SQLITE_ERROR

    GitHub | 2 years ago | brunyman
    java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (table jobs has no column named username)
  5. 0

    SQLite deploy failed

    GitHub | 3 years ago | Orhideous
    ru.tehkode.permissions.exceptions.PermissionBackendException: Deploying of default data failed. Please initialize database manually using sqlite.sql

  1. linxiaolong 36 times, last 2 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    NYI

    at org.sqlite.Conn.prepareStatement()
  2. SQLite JDBC
    Conn.prepareStatement
    1. org.sqlite.Conn.prepareStatement(Conn.java:217)
    1 frame
  3. ORMLite JDBC
    JdbcDatabaseConnection.insert
    1. com.j256.ormlite.jdbc.JdbcDatabaseConnection.insert(JdbcDatabaseConnection.java:101)
    1 frame
  4. ORMLite Core
    BaseDaoImpl.create
    1. com.j256.ormlite.stmt.mapped.MappedCreate.createWithGeneratedId(MappedCreate.java:109)
    2. com.j256.ormlite.stmt.mapped.MappedCreate.insert(MappedCreate.java:42)
    3. com.j256.ormlite.stmt.StatementExecutor.create(StatementExecutor.java:293)
    4. com.j256.ormlite.dao.BaseDaoImpl.create(BaseDaoImpl.java:206)
    4 frames
  5. test
    DatabaseItemTest.testPersistItem
    1. test.DatabaseItemTest.testPersistItem(DatabaseItemTest.java:57)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  7. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    7. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    8. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    9. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    10. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    11. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    12. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    13. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
    14. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    14 frames
  8. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
    1 frame
  9. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    5 frames