November 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Tag Archives: SQLError
SQLite – compare null values
Hi, this is a quick post describing issue I have found when using SQLite in flash. I’ve tried to fetch some rows using following snippet, but couldn’t get correct results. Then after digging on the net I have found that … Continue reading
Posted in actionscript, air for android, flash, SQLite3 (in AIR)
Tagged actionscript, actionscript3, air, air for android, flash, IS NULL, SQLConection, SQLError, SQLite, SQLStatement, SQLStatement parameters
4 Comments
SQLError: ‘Error #3132: Data type mismatch’,details:”,operation:’execute’
Hi, I have noticed weird error: SQLError: ‘Error #3132: Data type mismatch’,details:”,operation:’execute’ this only happens in certain situations, this is how you can reproduce it:
Posted in actionscript, bugs, flash, SQLite3 (in AIR)
Tagged actionscript3, Data type mismatch, Error #3132, SQLError, SQLite, SQLStatement parameters
3 Comments
AIR and SQLite transaction issues
Nice thing about SQLite in Adobe AIR are transactions, you start them with begin method of SQLConnection instance and then finish with rollback or commit methods. Problem occurs when you start transaction with default arguments and then try to stop … Continue reading
‘unique’ as column name in SQLite table and SQLError
Hi, I have just learned that “unique” is not a good name for column name when creating table. If you try to use it then you will get following meaningless (at least to me) error: SQLError: ‘Error #3115: SQL Error.’, … Continue reading
Posted in actionscript, air for android, flash, SQLite3 (in AIR)
Tagged actionscript3, Error #3115, SQLError, SQLite
Comments Off on ‘unique’ as column name in SQLite table and SQLError
SQLite – open and openAsync methods NOT create folders for created database file
If you run into problems with connecting to the database and you are using open or openAsync with CREATE mode then check if folder location exists for your database file, following code will generate SQLError SQLError: ’Error #3125: Unable to … Continue reading
Posted in actionscript, air for android, flash, SQLite3 (in AIR)
Tagged actionscript3, air, air for android, createDirectory, detailID:’1001’, Error #3125, SQLConection, SQLError, SQLite
Comments Off on SQLite – open and openAsync methods NOT create folders for created database file