murataydogdu / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

FormatWriter uses precision for scale #177

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Set precision and scale for property. Generated meta model will overwrite scale 
with precision value.

    EdmProperty.Builder propertyBuilder = 
       EdmProperty.newBuilder("test").setType(EdmSimpleType.DECIMAL);
    propertyBuilder.setPrecision(2);
    propertyBuilder.setScale(10);  *)
    EdmProperty property = propertyBuilder.build();

*) Will be to in generated meta model.

Original issue reported on code.google.com by stephan....@googlemail.com on 14 May 2012 at 1:59

GoogleCodeExporter commented 8 years ago

Original comment by stephan....@googlemail.com on 14 May 2012 at 2:14