Hello,
I have a really strange one I am hoping somebody with more Linux via Mono knowledge can help me with.
This code:
da.Update(ds, "Devices")
(da is the SQLite data adapter, ds is a DataSet)
Caused an error: Abort due to constraint violation
Devices.name may not be NULL
So here is the deal - the table (Devices) has a field called Name - it is an old object being saved, older than when 'Name' was a reserved word in many things, so I am not ignoring that it may be related to that, but there is another table in the same database with the same column name, and it works fine.
So your first thought is, "it has a null value, duh!" but that is not the case...
I compared the two tables and found that the only difference was that where the error happens, I have the "NOT NULL" on the column and in the other one I do not, but as I said this works FINE under Windows, just not on Linux via Mono.
So I am assuming (Robert) that you switch to Mono when it runs under that environment, and so the problem is likely in the binary distribution of SQLite for Linux, but I could not find anything in a search yesterday so I am hoping that some of the veterans here can help.
Thanks