Module eclipselink
Annotation Interface NamedPLSQLStoredFunctionQuery
@Target(TYPE)
@Retention(RUNTIME)
@Repeatable(NamedPLSQLStoredFunctionQueries.class)
public @interface NamedPLSQLStoredFunctionQuery
A NamedPLSQLStoredFunctionQuery annotation allows the definition of queries that
call PLSQL stored functions as named queries.
The PLSQL support adds support for complex PLSQL types such as RECORD and TABLE types, that are not accessible from JDBC.
A NamedPLSQLStoredFunctionQuery annotation may be defined on an Entity or MappedSuperclass.
- Author:
- James Sutherland
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe name of the stored function.Unique name that references this stored function query.Defines the return value of the stored function. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionjakarta.persistence.QueryHint[]Query hints.Defines the parameters to the stored function.The name of the SqlResultSetMapping.
-
Element Details
-
name
String nameUnique name that references this stored function query. -
hints
jakarta.persistence.QueryHint[] hintsQuery hints.- Default:
{}
-
resultSetMapping
String resultSetMappingThe name of the SqlResultSetMapping.- Default:
""
-
functionName
String functionNameThe name of the stored function. -
parameters
PLSQLParameter[] parametersDefines the parameters to the stored function.- Default:
{}
-
returnParameter
PLSQLParameter returnParameterDefines the return value of the stored function.
-