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

DbEntity to ObjEntity synchronization should check mandatory flag for primitive java types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2, 5.0-M1
    • dbimport, Modeler
    • None

    Description

      Logic that creates Obj layer from the DB is not using mandatory flag and just always uses primitive types if possible.

      On the other hand cgen tries to use Object types if field is nullable.

      We should unify logic of these operations and always check nullability of the field.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: