class GenericJdbcDataSourceResourceConverter extends ResourceConverterImpl<JdbcDataSourceType, ClientJdbcDataSourceType> {

    @Override
    protected JdbcDataSourceType resourceSpecificFieldsToServer(ClientJdbcDataSourceType clientObject, JdbcDataSourceType resultToUpdate, List<Exception> exceptions, ToServerConversionOptions options) throws IllegalParameterValueException {
        resultToUpdate.setConnectionUrl(clientObject.getConnectionUrl());
        resultToUpdate.setDriverClass(clientObject.getDriverClass());
        resultToUpdate.setUsername(clientObject.getUsername());
        resultToUpdate.setTimezone(clientObject.getTimezone());

        if (clientObject.getPassword() != null) {
            resultToUpdate.setPassword(clientObject.getPassword());
        }
        return resultToUpdate;
    }

}