Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-274

JPQL queries cannot access version fields, including bulk updates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0, 0.9.6, 0.9.7
    • 1.0.0
    • jdbc, query
    • None

    Description

      OpenJPA throws an exception if a query uses a field mapped as a @Version. This happens because FieldMappings for fields that are @Version do not have any columns, since the columns are managed separately by the owning ClassMapping's version indicator.

      Attachments

        1. bulk-updates.patch
          15 kB
          Patrick Linskey

        Activity

          People

            pcl Patrick Linskey
            pcl Patrick Linskey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: