Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1 M2 (Moore)
    • Component/s: Repository
    • Labels:
      None

      Description

      If an entity has a reference to a value object (no ID) it should be possible to persist the object in the same table as the entity, with columns matching the properties of the value object plus a prefix configurable via an annotation on the reference to the value object.

          class LegoSet {
              @Id
              Long id;
      
              @Embed("age_")
              private AgeRange age;
          }
      
          class AgeRange {
              Duration from;
              Duration to;
          }
      

      should map to a table

          LegoSet(id, age_from, age_to)
      

        Attachments

          Activity

            People

            • Assignee:
              schauder Jens Schauder
              Reporter:
              schauder Jens Schauder
              Last updater:
              Christoph Strobl
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: