Callable objects are mainly stored procedures and stored functions. The distinction between those two object types is very subtle and not well defined across various RDBMS. In general, this can be said:
Procedures:
Hence, with #852, jOOQ 1.6.8, the distinction between procedures and functions becomes obsolete. All stored routines are simply referred to as "Routine".
Instances of this type cannot be created directly. They are available from generated code.
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public <Z> Z | |
| public @NotNull List | Returns: The list of in parametersA list of IN parameters passed to the stored procedure as argument. |
| public <Z> Z | |
| public @NotNull List | Returns: The list of out parametersA list of OUT parameters passed to the stored procedure as argument. |
| public @NotNull List | |
| public @NotNull Results | |
| public @Nullable Parameter | Returns: The return parameter ornull if this routine doesn't
have a return value.The parameter representing this routine's |
| public T | |
| public <Z> Z | |
| public <Z> void | |
| public <Z> void |
| execute | back to summary |
|---|---|
| public int execute(Configuration configuration) throws DataAccessException Execute the stored object using a
| |
| execute | back to summary |
|---|---|
| public int execute() throws DataAccessException Execute the stored object on an underlying connection
| |
| get | back to summary |
|---|---|
public <Z> Z get(Parameter<Z> parameter)
| |
| getInParameters | back to summary |
|---|---|
| public @NotNull List A list of IN parameters passed to the stored procedure as argument. This
list contains all parameters that are either IN or INOUT in their
respective order of appearance in
| |
| getInValue | back to summary |
|---|---|
public <Z> Z getInValue(Parameter<Z> parameter)
| |
| getOutParameters | back to summary |
|---|---|
| public @NotNull List A list of OUT parameters passed to the stored procedure as argument. This
list contains all parameters that are either OUT or INOUT in their
respective order of appearance in
| |
| getParameters | back to summary |
|---|---|
| public @NotNull List | |
| getResults | back to summary |
|---|---|
| public @NotNull Results getResults() | |
| getReturnParameter | back to summary |
|---|---|
| public @Nullable Parameter The parameter representing this routine's
| |
| getReturnValue | back to summary |
|---|---|
public T getReturnValue()
| |
| getValue | back to summary |
|---|---|
public <Z> Z getValue(Parameter<Z> parameter)
| |
| set | back to summary |
|---|---|
| public <Z> void set(Parameter<Z> parameter, Z value) Set the routine's IN value for an IN parameter. | |
| setValue | back to summary |
|---|---|
| public <Z> void setValue(Parameter<Z> parameter, Z value) Set the routine's IN value for an IN parameter. | |