Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
c3ae1c76f349bac2e262929d29163cd9b5d60332
Description
QSqlTableModel::selectRow() does not work with primary keys supplied by the database, as for example in AUTOINCREMENT, due to generating a WHERE primaryKey = NULL clause, because the value of the primary key is not available.
See also http://lists.qt-project.org/pipermail/development/2012-September/006261.html
Attachments
For Gerrit Dashboard: QTBUG-29102 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
45946,5 | QSqlTableModel: support refreshing inserted rows with auto columns | stable | qt/qtbase | Status: MERGED | +2 | 0 |