Nikita Timofeev created CAY-2783: ------------------------------------ Summary: DbEntity to ObjEntity syncronization should check mandatory flag for primitive java types Key: CAY-2783 URL: https://issues.apache.org/jira/browse/CAY-2783 Project: Cayenne Issue Type: Improvement Components: dbimport, Modeler Reporter: Nikita Timofeev Assignee: Nikita Timofeev Fix For: 4.2, 5.0.M1
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. -- This message was sent by Atlassian Jira (v8.20.10#820010)