All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.springframework.jdbc.core.SqlReturnUpdateCount Maven / Gradle / Ivy

There is a newer version: 6.1.6
Show newest version
package org.springframework.jdbc.core;

import java.sql.Types;

/**
 * Represents a returned update count from a stored procedure call.
 *
 * 

Returned update counts - like all stored procedure * parameters - must have names. * * @author Thomas Risberg */ public class SqlReturnUpdateCount extends SqlParameter { /** * Create a new instance of the {@link SqlReturnUpdateCount} class. * @param name name of the parameter, as used in input and output maps */ public SqlReturnUpdateCount(String name) { super(name, Types.INTEGER); } /** * Return whether this parameter holds input values that should be set * before execution even if they are {@code null}. *

This implementation always returns {@code false}. */ @Override public boolean isInputValueProvided() { return false; } /** * Return whether this parameter is an implicit return parameter used during the * results preocessing of the CallableStatement.getMoreResults/getUpdateCount. *

This implementation always returns {@code true}. */ @Override public boolean isResultsParameter() { return true; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy