wood burning stoves*
The moose likes Android and the fly likes error code 19: constraint failed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "error code 19: constraint failed" Watch "error code 19: constraint failed" New topic
Author

error code 19: constraint failed

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi,
i'm trying to insert some data in the Android sqlite it was inserted successfully but this error occurs :

i cant understand what is for !! any clues ?


Thanks,
Sherif
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

When you create a database, you can specify that values in certain columns must meet certain conditions. If those conditions are not met, then you get a constraint violation error. Often this means that two records have the same key value (unique key values are often implied constraints). Check the data you are inserted to see of two records have the same key.


JBoss In Action
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Thanks Peter for clarification ....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error code 19: constraint failed
 
Similar Threads
DateFormat
back ground process id ??
getting the time in milliseconds
Problem moving columns and rows in 2D array.
Unix OS on Windows Vista ?