Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1261

Auto-inject values in NEW objects with declared qualifiers

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0M6
    • Fix Version/s: 3.0 beta 1, 3.0
    • Component/s: Core Library
    • Labels:
      None

      Description

      Auto-inject values in NEW objects with declared qualifiers.
      E.g. if entity Employee has a qualifier personType="EE" then context.newObject(Employee.class).getPersonType() should be "EE"

      At first step I plan to inject only AND expressions and those Equal, where one operand is a path (Db or Obj) and other is scalar

        Attachments

          Activity

            People

            • Assignee:
              antidote Andrey Razumovsky
              Reporter:
              antidote Andrey Razumovsky
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: