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

NPE if a discriminator column is specified without discriminator type in orm.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      XMLPersistenceMappingParser should initialize _discType to STRING to avoid a potential NPE. I'll provide an example shortly.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: