
createRequest.setFormat(ContentType.JSON);
</BUG>
changeset.addRequest(createRequest);
<BUG>targetURI = getClient().newURIBuilder(SERVICE_URI).appendEntitySetSegment("ESAllPrim").appendKeySegment(0);
editLink = targetURI.build();</BUG>
ClientEntity patchEntity = factory.newEntity(new FullQualifiedName(SERVICE_NAMESPACE, "ETAllPrim"));
<BUG>patchEntity.setEditLink(editLink);
patchEntity.getProperties().add(factory.newPrimitiveProperty("PropertyDouble",</BUG>
factory.newPrimitiveValueBuilder().buildDouble(3.1415)));

.appendKeySegment(32766)
.build()));
postEntity.getProperties().add(factory.newPrimitiveProperty("PropertyDouble",
factory.newPrimitiveValueBuilder().buildDouble(3.1415)));
final ODataEntityCreateRequest<ClientEntity> createRequest =
getClient().getCUDRequestFactory().getEntityCreateRequest(targetURI, postEntity);
createRequest.setFormat(getContentType());
changeset.addRequest(createRequest);
ClientEntity patchEntity = factory.newEntity(new FullQualifiedName(SERVICE_NAMESPACE, "ETAllPrim"));
patchEntity.setEditLink(
getClient().newURIBuilder(SERVICE_URI).appendEntitySetSegment("ESAllPrim").appendKeySegment(0).build());
patchEntity.getProperties().add(factory.newPrimitiveProperty("PropertyDouble",
factory.newPrimitiveValueBuilder().buildDouble(3.1415)));
