Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6771

Insert query failed if kye field is present in value fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.2
    • None
    • sql
    • None

    Description

      I'm imported model from DB where a table hasn't a primary key.
      Then using web console I added key field manually (the first field in the table).
      Note:

      <property name="writeThrough" value="true"/>
      

      Then I generated the project and started one server node.
      I'm opened query in web console and tried to execute insert query
      and got an error

      ...duplicate field
      

      The issue disappeared only after I removed the same field from value fields.

      I guess it is possible to handle that automatically in POJO logic.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pkonstantinov Pavel Konstantinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: