title: Consuming ADF BC Rest Services using the ADF Date Control causes Date field type conversion
body: <p>I have created some REST services using Oracle ADF 12.2 and I am trying to consume them in another ADF Fusion Application.
  One of the exposed VO has a date field, I have left this field with the default UI hints and no Date formatter configured.</p>
  
  <p>The Attribute in the EO with the Date field is as below.</p>
  
  <pre><code>&lt;Attribute
  Name="LastUpdated"
  ColumnName="LAST_UPDATED"
  SQLType="DATE"
  Type="oracle.jbo.domain.Date"
  ColumnType="DATE"
  TableName="APPLICANT"&gt;
  &lt;Properties&gt;
    &lt;SchemaBasedProperties&gt;
      &lt;LABEL
        ResId="com.oracle.roshan.demo.services.eo.Applicant.LastUpdated_LABEL"/&gt;
      &lt;DISPLAYWIDTH
        Value="15"/&gt;
    &lt;/SchemaBasedProperties&gt;
  &lt;/Properties&gt;
  </code></pre>
  
  <p></p>
  
  <p>The Attribute in the VO with the Date field is as below.</p>
  
  <pre><code> &lt;ViewAttribute
          Name="LastUpdated"
          PrecisionRule="true"
          EntityAttrName="LastUpdated"
          EntityUsage="Applicant"
          AliasName="LAST_UPDATED"/&gt;
  </code></pre>
  
  <p>The ADFBC Rest generates the following when I do a get on the describe URI on the resource.</p>
  
  <pre><code>{
    "name": "LastUpdated",
    "type": "datetime",
    "updatable": true,
    "mandatory": false,
    "queryable": true,
    "allowChanges": "always",
    "title": "Last Updated",
    "properties": {
      "DISPLAYWIDTH": "15"
    }
  },
  </code></pre>
  
  <p>In the Client ADF Application, I consumed this service and generated the DataControl. I see that the field is now typed to java.sql.Timestamp.</p>
  
  <p><a href="https://i.stack.imgur.com/sCuR9.png" rel="nofollow noreferrer">The ADF model in the Client Application</a></p>
  
  <p>When I run the DataControl and edit this field in any row and submit, I got a 500 error response.</p>
  
  <p><a href="https://i.stack.imgur.com/FQr7R.png" rel="nofollow noreferrer">The error.</a></p>
  
  <p>I don't see any logs as well in the WebLogic server logs.</p>
  
  <p>I am new to Oracle ADF, so I might have missed out on some configuration for this to happen. Please be gentle :)</p>