Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Sqlite error on adding 300 rows to the table

I'm seeing the following error after approx 300 rows have been inserted into a table. I believe it is a constraint violation and I don't have any "NOT NULL" columns in the database.

[ERROR] Error occurred calling next on a PLSqliteResultSet. SQLite error #19

Any idea what might be going wrong?

— asked June 4th 2010 by Gaurav Srivastva
  • constraints
  • iphone
  • sqlite
0 Comments

1 Answer

  • Accepted Answer

    If you build the development version of titanium_mobile from source, it will give you some more information about the error and the statement which is causing it. Are you sure you are not inserting the same content into a field which must be unique?

    — answered June 4th 2010 by Damien Elmes
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.