Re: [Interest] QSqlTableModel and transactions

2013-01-05 Thread Petric Frank
Hello Mark, Am Freitag, 4. Januar 2013, 13:23:59 schrieb Petric Frank: > > > NB.: If i do a revert or select call on QSqlDatabase having > > > un-submitted data after the rollback i get a 'Vector index out of > > > range' trap from inside the qt-lib. This might be a coding error of > > > me. But i

Re: [Interest] QSqlTableModel and transactions

2013-01-04 Thread Petric Frank
Hello Mark, Am Freitag, 4. Januar 2013, 12:03:22 schrieb Mark Brand: > > i ran into an issue using transactions together with QSqlTableModel. > > > > Whenever i do a "QSqlDatabase::rollback ()" the QSqlTableModel internal > > buffer is not updated to reflect this. So it still shows the data befor

Re: [Interest] QSqlTableModel and transactions

2013-01-04 Thread Mark Brand
Petric Frank wrote: > Hello, > > i ran into an issue using transactions together with QSqlTableModel. > > Whenever i do a "QSqlDatabase::rollback ()" the QSqlTableModel internal buffer > is not updated to reflect this. So it still shows the data before the > rollback. I'm not sure whether your "i

[Interest] QSqlTableModel and transactions

2013-01-03 Thread Petric Frank
Hello, i ran into an issue using transactions together with QSqlTableModel. Whenever i do a "QSqlDatabase::rollback ()" the QSqlTableModel internal buffer is not updated to reflect this. So it still shows the data before the rollback. Is there a signal or other method to detect a rollback ? Thi