[sqlite] SQLState error codes from SQLite

2009-03-10 Thread Felipe Sere
Hi everyone, I am starting to use SQL but I can not seem to find any good documentation on the SQLStates. My little personal project is implemented in Java and I would like to handle the SQLExceptions correctly. To do that I have to interpret the SQLState, but all I found is somehow locked d

[sqlite] SQLSTATE error codes

2007-11-12 Thread Yves Goergen
Hi, is there any documentation about error codes and SQLSTATE values available? I couldn't find any on the sqlite.org site or other somewhere else. I need to programmatically detect the error condition "duplicate key" so that I can retry my work with a new key then. MySQL [1] and PostgreSQL [2] d