[ https://issues.apache.org/jira/browse/OLINGO-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramya resolved OLINGO-1244. --------------------------- Resolution: Fixed > OData V2: Annotation edm provider ignoring facets set on complex types > ---------------------------------------------------------------------- > > Key: OLINGO-1244 > URL: https://issues.apache.org/jira/browse/OLINGO-1244 > Project: Olingo > Issue Type: Bug > Components: odata2-annotation > Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8, V2 2.0.9, V2 2.0.10 > Reporter: Ramya > Priority: Major > > When a model is created like > @EdmEntityType(name = "Employee", namespace = "NAMESPACE_1") > @EdmEntitySet(name = "Employees") > public class Employee { > @EdmKey > @EdmProperty(name = "EmployeeId", type = EdmType.STRING, facets = > @EdmFacets(nullable = false)) > private String employeeId; > @EdmProperty(name = "EmployeeName", facets = @EdmFacets(maxLength = 20)) > private String employeeName; > @EdmProperty > private int age; > @EdmProperty(name = "Location", facets = @EdmFacets(nullable = false)) > private Location location; > } > where the complex type Location has facets nullable=false. The url /$metadata > does not show this facet information. -- This message was sent by Atlassian JIRA (v7.6.3#76005)