java.sql.SQLException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problem with self referencing Class
    via ormlite by *anonymous
    ,
    • java.sql.SQLException: Field \'parent_id\' is of data type null which can not be compared at com.j256.ormlite.stmt.query.BaseComparison.<init>(BaseComparison.java:25) at com.j256.ormlite.stmt.query.IsNull.<init>(IsNull.java:19) at com.j256.ormlite.stmt.Where.isNull(Where.java:299) at com.example.ormlitetest.ORMLiteTestActivity.query(ORMLiteTestActivity.java:135) at com.example.ormlitetest.ORMLiteTestActivity.loadDataCached(ORMLiteTestActivity.java:94) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at android.view.View$1.onClick(View.java:2067) at android.view.View.performClick(View.java:2408) at android.view.View$PerformClick.run(View.java:8816) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4627) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Benny
    131 times, last one,