Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2212

QDataWidgetMapper and QSqlTableModel problem on Oracle database

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Out of scope
    • Affects Version/s: 4.4.0
    • Fix Version/s: Some future release
    • Component/s: SQL Support
    • Labels:
      None

      Description

      When using the QDataWidgetMapper mapper to connect a QSqlTableModel with QLineEdits and one of the columns in the model is of type DateTime submitting the data widget mapper fails with an ORACLE error.
      "ORA-01850: hour must be between 0 and 23" although the data in the line edit showing the DateTime field did not change.
      The convertion from string to date works fine with the other database drivers.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes