Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-964

Support Table Per Class with Discriminator Inheritance

    Details

    • Type: Feature Request
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Labels:

      Description

      Railo doesn't appear to support table per class w/ discriminator inheritance. When I define a discriminator value and join column on an extending compoenent, Railo will use a single table whereas ACF will use a table per class.

      Here an an example:

      // test.cfc
      component persistent="true" discriminatorcolumn="type" accessors="true"

      { property name="id" fieldtype="id" generator="guid"; property name="name"; }

      // testext.cfc
      component persistent="true" joincolumn="id" extends="test" accessors="true" discriminatorvalue="testext"

      { property name="id" fieldtype="id" generator="guid"; property name="extName"; }

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                webflint Brett S
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: