|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Routine<T>
A routine is a callable object in your RDBMS.
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".
Method Summary | |
---|---|
int |
execute()
Execute the stored object on an underlying connection |
int |
execute(Configuration configuration)
Execute the stored object using a Configuration object |
List<Parameter<?>> |
getInParameters()
A list of IN parameters passed to the stored procedure as argument. |
List<Parameter<?>> |
getOutParameters()
A list of OUT parameters passed to the stored procedure as argument. |
Package |
getPackage()
The container package of this stored procedure or function. |
List<Parameter<?>> |
getParameters()
|
T |
getReturnValue()
|
Methods inherited from interface org.jooq.NamedQueryPart |
---|
getName |
Methods inherited from interface org.jooq.Attachable |
---|
attach |
Methods inherited from interface org.jooq.Adapter |
---|
internalAPI |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.jooq.SchemaProvider |
---|
getSchema |
Method Detail |
---|
List<Parameter<?>> getOutParameters()
getParameters()
.
getParameters()
List<Parameter<?>> getInParameters()
getParameters()
.
getParameters()
T getReturnValue()
List<Parameter<?>> getParameters()
Package getPackage()
This is only supported in the SQLDialect.ORACLE
dialect.
null
if
there is no such container.int execute(Configuration configuration) throws DataAccessException
Configuration
object
DataAccessException
- if something went wrong executing the queryint execute() throws DataAccessException
DataAccessException
- if something went wrong executing the query
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |