Java org.springframework.jdbc.object SqlFunction fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.jdbc.object SqlFunction fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.jdbc.object SqlFunction.

The text is from its open source code.

Subclass

org.springframework.jdbc.object.SqlFunction has subclasses.
Click this link to see all its subclasses.

Constructor

SqlFunction(DataSource ds, String sql, int[] types, Class resultType)
Create a new SqlFunction object with SQL, parameters and a result type.
SqlFunction(DataSource ds, String sql)
Create a new SqlFunction object with SQL, but without parameters.
SqlFunction()
Constructor to allow use as a JavaBean.
SqlFunction(DataSource ds, String sql, int[] types)
Create a new SqlFunction object with SQL and parameters.

Method

intrun()
Convenient method to run the function without arguments.
intrun(int parameter)
Convenient method to run the function with a single int argument.
intrun(Object... parameters)
Analogous to the SqlQuery.execute([]) method.
ObjectrunGeneric(int parameter)
Convenient method to run the function with a single int argument.
ObjectrunGeneric(Object[] parameters)
Analogous to the SqlQuery.findObject(Object[]) method.
voidsetResultType(Class resultType)
Specify the type that the result object is required to match.