@Test public void testService_InvalidColumns() throws Exception { createDatabase(); JdbcMapUpsert service = configureForTests(createService()).withId(ID_ELEMENT_VALUE); AdaptrisMessage msg = AdaptrisMessageFactory.getDefaultInstance().newMessage(INVALID_COLUMN); try { ExampleServiceCase.execute(service, msg); fail(); } catch (ServiceException expected) { } }
public <T extends JdbcMapUpsert> T withId(String elem) { setIdField(elem); return (T) this; }
JdbcMapUpsert extends JdbcMapInsert { public <T extends JdbcMapUpsert> T withId(String elem) { setIdField(elem); return (T) this; } }
JdbcMapUpsert extends JdbcMapInsert { public <T extends JdbcMapUpsert> T withId(String elem) { setIdField(elem); return (T) this; } JdbcMapUpsert(); }
JdbcMapUpsert extends JdbcMapInsert { public <T extends JdbcMapUpsert> T withId(String elem) { setIdField(elem); return (T) this; } JdbcMapUpsert(); String getIdField(); void setIdField(String elem); T withId(String elem); }
JdbcMapUpsert extends JdbcMapInsert { public <T extends JdbcMapUpsert> T withId(String elem) { setIdField(elem); return (T) this; } JdbcMapUpsert(); String getIdField(); void setIdField(String elem); T withId(String elem); static final String DEFAULT_ID_FIELD; }