Spring Framework SqlOutParameter - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework SqlOutParameter class.

This code example shows how to use the following methods:
	} 
 
	@Override 
	public SqlParameter createDefaultOutParameter(String parameterName, CallParameterMetaData meta) {
		if (meta.getSqlType() == Types.OTHER && "refcursor".equals(meta.getTypeName())) {
			return new SqlOutParameter(parameterName, getRefCursorSqlType(), new ColumnMapRowMapper());
		} 
		else { 
			return super.createDefaultOutParameter(parameterName, meta);
		} 
	} 
 
	@Override 
	public boolean byPassReturnParameter(String parameterName) {
		return (RETURN_VALUE_NAME.equals(parameterName) ||
				super.byPassReturnParameter(parameterName));
	} 
} 
6
CodeRank
This code example shows how to use the following methods:
	} 
 
	@Override 
	public SqlParameter createDefaultOutParameter(String parameterName, CallParameterMetaData meta) {
		if (meta.getSqlType() == Types.OTHER && REF_CURSOR_NAME.equals(meta.getTypeName())) {
			return new SqlOutParameter(parameterName, getRefCursorSqlType(), new ColumnMapRowMapper());
		} 
		else { 
			return super.createDefaultOutParameter(parameterName, meta);
		} 
	} 
 
} 
6
CodeRank