@Test public void testMetadataAppliedOutputParam() throws Exception { JdbcObjectMetadataParameter param = new JdbcObjectMetadataParameter(); param.setMetadataKey(METADATA_KEY); param.applyOutputParam(METADATA_VALUE, message); assertTrue(message.getObjectHeaders().containsKey(METADATA_KEY)); assertEquals(message.getObjectHeaders().get(METADATA_KEY), METADATA_VALUE); }
@Override public void applyOutputParam(Object dbValue, AdaptrisMessage msg) throws JdbcParameterException { super.checkMetadataKey(); msg.addObjectHeader(this.getMetadataKey(), normalize(dbValue)); }
JdbcObjectMetadataParameter extends JdbcMetadataParameter { @Override public void applyOutputParam(Object dbValue, AdaptrisMessage msg) throws JdbcParameterException { super.checkMetadataKey(); msg.addObjectHeader(this.getMetadataKey(), normalize(dbValue)); } }
JdbcObjectMetadataParameter extends JdbcMetadataParameter { @Override public void applyOutputParam(Object dbValue, AdaptrisMessage msg) throws JdbcParameterException { super.checkMetadataKey(); msg.addObjectHeader(this.getMetadataKey(), normalize(dbValue)); }  }
JdbcObjectMetadataParameter extends JdbcMetadataParameter { @Override public void applyOutputParam(Object dbValue, AdaptrisMessage msg) throws JdbcParameterException { super.checkMetadataKey(); msg.addObjectHeader(this.getMetadataKey(), normalize(dbValue)); }  @Override Object applyInputParam(AdaptrisMessage msg); @Override void applyOutputParam(Object dbValue, AdaptrisMessage msg); }
JdbcObjectMetadataParameter extends JdbcMetadataParameter { @Override public void applyOutputParam(Object dbValue, AdaptrisMessage msg) throws JdbcParameterException { super.checkMetadataKey(); msg.addObjectHeader(this.getMetadataKey(), normalize(dbValue)); }  @Override Object applyInputParam(AdaptrisMessage msg); @Override void applyOutputParam(Object dbValue, AdaptrisMessage msg);  }