OpenJPA
  1. OpenJPA
  2. OPENJPA-529

ManagedClassSubclasses stores table names twice.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: 1.0.3, 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      While tracking down a separate issue I noticed that the ManagedClassSubclasser was creating the same column name twice in a DynamicSchemaTable object. This problem was exposed while working on OPENJPA-528, the fix for that issue broke many of the unenhanced entity tests, due to this problem.

        Activity

        Hide
        Kevin Sutter added a comment -

        Found a problem with this code fix. The clone() operation on the Configuration does not seem to be sufficient for the RuntimeEnhancement processing that happens later in this code path. I will revert this code change, but leave the Issue open for some other potential fix (if it's still required).

        Show
        Kevin Sutter added a comment - Found a problem with this code fix. The clone() operation on the Configuration does not seem to be sufficient for the RuntimeEnhancement processing that happens later in this code path. I will revert this code change, but leave the Issue open for some other potential fix (if it's still required).
        Hide
        Michael Dick added a comment -

        I'm unable to reproduce the problem at the moment so I'm closing the issue.

        Show
        Michael Dick added a comment - I'm unable to reproduce the problem at the moment so I'm closing the issue.

          People

          • Assignee:
            Michael Dick
            Reporter:
            Michael Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 20m
              20m
              Remaining:
              Remaining Estimate - 20m
              20m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development