@Test public void testService_Update_Bookend() throws Exception { createDatabase(CREATE_QUOTED); populateDatabase(INSERT_QUOTED); UpsertProperties service = configureForTests(createService()); service.withColumnBookend('"'); service.setIdField(ID_ELEMENT_VALUE); AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage(CONTENT); ExampleServiceCase.execute(service, msg); doAssert(1); checkDob(SELECT_QUOTED, ALICE, DOB); }
public void setIdField(String elem) { this.idField = elem; }
JdbcMapUpsert extends JdbcMapInsert { public void setIdField(String elem) { this.idField = elem; } }
JdbcMapUpsert extends JdbcMapInsert { public void setIdField(String elem) { this.idField = elem; } JdbcMapUpsert(); }
JdbcMapUpsert extends JdbcMapInsert { public void setIdField(String elem) { this.idField = elem; } JdbcMapUpsert(); String getIdField(); void setIdField(String elem); T withId(String elem); }
JdbcMapUpsert extends JdbcMapInsert { public void setIdField(String elem) { this.idField = elem; } JdbcMapUpsert(); String getIdField(); void setIdField(String elem); T withId(String elem); static final String DEFAULT_ID_FIELD; }