@Test public void testSimpleUpdate() throws Exception { String query = "Update Categories set CategoryName = 'catname' where CategoryID=1"; String expectedURL = "Categories(1)"; FileReader reader = new FileReader(UnitTestUtil.getTestDataFile("categories.xml")); String payload = helpExecute(query, ObjectConverterUtil.convertToString(reader), expectedURL, new int[] {200, 204}, 2); reader.close(); String expected = "<category term=\"NorthwindModel.Category\" " + "scheme=\"http: + "</category>" + "<content type=\"application/xml\">" + "<m:properties>" + "<d:CategoryName>catname</d:CategoryName>" + "</m:properties></content>" + "</entry>"; assertTrue(expected, payload.endsWith(expected)); }
@Override public void close() { }
ODataUpdateExecution extends BaseQueryExecution implements UpdateExecution { @Override public void close() { } }
ODataUpdateExecution extends BaseQueryExecution implements UpdateExecution { @Override public void close() { } ODataUpdateExecution(Command command, ODataExecutionFactory translator,
            ExecutionContext executionContext, RuntimeMetadata metadata,
            WSConnection connection); }
ODataUpdateExecution extends BaseQueryExecution implements UpdateExecution { @Override public void close() { } ODataUpdateExecution(Command command, ODataExecutionFactory translator,
            ExecutionContext executionContext, RuntimeMetadata metadata,
            WSConnection connection); @Override void close(); @Override void cancel(); @Override void execute(); @Override int[] getUpdateCounts(); }
ODataUpdateExecution extends BaseQueryExecution implements UpdateExecution { @Override public void close() { } ODataUpdateExecution(Command command, ODataExecutionFactory translator,
            ExecutionContext executionContext, RuntimeMetadata metadata,
            WSConnection connection); @Override void close(); @Override void cancel(); @Override void execute(); @Override int[] getUpdateCounts();  }