You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Aditya Sharma (JIRA)" <ji...@apache.org> on 2017/05/09 07:48:04 UTC

[jira] [Created] (OFBIZ-9353) Implement "not-null" attribute for a entity field

Aditya Sharma created OFBIZ-9353:
------------------------------------

             Summary: Implement "not-null" attribute for a entity field 
                 Key: OFBIZ-9353
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9353
             Project: OFBiz
          Issue Type: Sub-task
            Reporter: Aditya Sharma
            Assignee: Aditya Sharma
            Priority: Trivial


When defining a field for an entity in entitymodel.xml, setting not-null attribute will allow enforcing SQL NOT NULL constraint at the database level.

Changes:
- Update documentation in fieldtypemodel.xsd with the new attribute
- Add implementation for the "not-null" attribute



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)