Cayenne
  1. Cayenne
  2. CAY-1699

Tests for disjoint by id don't work on MySQL

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1B1
    • Fix Version/s: 3.1B1
    • Component/s: Core Library
    • Labels:
      None

      Description

      Tests that have been introduced in CAY-1681 don't work on MySQL:

      Failed tests:
      testOneToOneRelationship(org.apache.cayenne.access.DataContextDisjointByIdPrefetchTest)
      testLongFlattenedRelationship(org.apache.cayenne.access.DataContextDisjointByIdPrefetchTest)
      testFlattenedMultiColumnRelationship(org.apache.cayenne.access.DataContextDisjointByIdPrefetchTest)
      testJointPrefetchInParent(org.apache.cayenne.access.DataContextDisjointByIdPrefetchTest)
      testJointPrefetchInChild(org.apache.cayenne.access.DataContextDisjointByIdPrefetchTest)

      1. CAY-1699.patch
        4 kB
        Andrei Veprev
      2. CAY-1699-v2.patch
        5 kB
        Andrei Veprev

        Activity

        Andrei Veprev created issue -
        Andrei Veprev made changes -
        Field Original Value New Value
        Attachment CAY-1699.patch [ 12524851 ]
        aadamchik committed 1331548 (1 file)
        Hide
        Andrus Adamchik added a comment -

        Patch applied. Thanks. Let's see how the Jenkins build goes this time.

        Show
        Andrus Adamchik added a comment - Patch applied. Thanks. Let's see how the Jenkins build goes this time.
        Andrus Adamchik made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Andrei Veprev made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Hide
        Andrei Veprev added a comment -

        Removed all order dependent checks in this new patch.

        Show
        Andrei Veprev added a comment - Removed all order dependent checks in this new patch.
        Andrei Veprev made changes -
        Attachment CAY-1699-v2.patch [ 12524981 ]
        aadamchik committed 1332081 (1 file)
        Reviews: none

        CAY-1699 Tests for disjoint by id don't work on MySQL

        second patch by Andrei Veprev

        Hide
        Andrus Adamchik added a comment -

        committed the second patch

        Show
        Andrus Adamchik added a comment - committed the second patch
        Andrus Adamchik made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Andrei Veprev
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development