[Qt-interest] Does a QSqlQueryModel lock an entire sqlite database?
Jan
janusius at gmx.net
Fri May 22 09:54:30 CEST 2009
Hi,
if your table has more than 256 rows you need to call fetchMore. Sqlite
locks the database if a query is still active.
Paul Dixon schrieb:
> I have a model derived from QSqlQueryModel. If I give the model a
> query, it seems my application can no longer perform database updates
> using QSqlQuery. No errors are returned from the database when making
> these failed updates. If I comment out the line giving the model a
> query, updates work again.
>
> Anyone got any idea what might have happened? I am using Qt4.5
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list