Uploaded image for project: 'Hibernate OGM'
  1. OGM-1425

Mapping tests for TABLE_PER_CLASS inheritance type in MongoDB

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.0.Final
    • Component/s: mongodb
    • Labels:
      None

      Description

      At the moment, we only test the native mapping of inheritance via org.hibernate.ogm.datastore.mongodb.test.inheritance.SingleTableInheritanceTest

      What we need to do is:

      1. 1st commit: Move the classes under `org.hibernate.ogm.datastore.mongodb.test.inheritance` to a new package `org.hibernate.ogm.datastore.mongodb.test.inheritance.singletable`
      2. 2nd commit Basically copy test and entities related to SingleTableInheritanceTest and create a new test class TablePerClassInheritanceTest under the package `org.hibernate.ogm.datastore.mongodb.test.inheritance.tableperclass`

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: