Spring Framework AbstractSqlTypeValue - 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 AbstractSqlTypeValue class.

This code example shows how to use the following methods:
	 * Constructor that takes one parameter with the Object value passed in to the stored 
	 * procedure. 
	 * 
	 * @param source the Object containing the values to be mapped to the STRUCT. 
	 */ 
	public SqlStructValue(T source) {
		this.source = source;
		this.mapper = new BeanPropertyStructMapper(source.getClass());
	} 
 
	/** 
	 * Constructor that takes two parameters, the Object value passed in to the 
	 * statement and the default type name to be used when the context where this class is used 
	 * is not aware of the type name to use. 
	 * 
	 * @param source the Object containing the values to be mapped to the STRUCT. 
	 * @param defaultTypeName the default type name. 
	 */ 
	public SqlStructValue(T source, String defaultTypeName) {
		this.source = source;
3
CodeRank
This code example shows how to use the following methods:
	 * name of the STRUCT that the array will contain. 
     * @param values the array containing the values 
     * @param mapper the mapper to create the STRUCT values 
     * @param structTypeName the type name of the STRUCT. 
     */ 
    public SqlStructArrayValue(T[] values, StructMapper<T> mapper, String structTypeName) { 
        this.values = values; 
		this.mapper = mapper; 
		this.structTypeName = structTypeName; 
    } 
     
    /** 
     * Constructor that takes a parameter with the array of values passed in to the 
     * statement, a parameter with the {@link StructMapper} to be used plus the type 
	 * name of the STRUCT that the array will contain. 
     * @param values the array containing the values 
     * @param mapper the mapper to create the STRUCT values 
     * @param structTypeName the type name of the STRUCT. 
     * @param arrayTypeName the type name of the ARRAY when this class is used in a context where the 
	 * name of the array type is not known. 
3
CodeRank
This code example shows how to use the following methods:
    /** 
     * Constructor that takes one parameter with the array of values passed in to the 
     * statement. 
     * @param values the array containing the values. 
     */ 
    public SqlArrayValue(T[] values) { 
        this.values = values; 
    } 
     
    /** 
     * Constructor that takes two parameters, one parameter with the array of values passed in to the 
     * statement and one that takes the default type name to be used when the context where this class 
	 * is used is not aware of the type name to use. 
     * @param values the array containing the values. 
     * @param defaultTypeName the default type name. 
     */ 
    public SqlArrayValue(T[] values, String defaultTypeName) { 
        this.values = values; 
		this.defaultTypeName = defaultTypeName; 
    } 
3
CodeRank