Top Description Methods
org.eclipse.persistence.platform.database.oracle.annotations

public @Interface NamedPLSQLStoredProcedureQuery

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target, jakarta.persistence.QueryHint

A PLSQLNamedStoredProcedureQuery annotation allows the definition of queries that call PLSQL stored procedures 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 PLSQLNamedStoredProcedureQuery annotation may be defined on an Entity or MappedSuperclass.
Author
James Sutherland
Since
EclipseLink 2.3

Method Summary

Modifier and TypeMethod and Description
public QueryHint[]
hints()

(Optional) Query hints.

public String
name()

(Required) Unique name that references this stored procedure query.

public PLSQLParameter[]
parameters()

(Optional) Defines the parameters to the stored procedure.

public String
procedureName()

(Required) The name of the stored procedure.

public Class<?>
resultClass()

(Optional) Refers to the class of the result.

public String
resultSetMapping()

(Optional) The name of the SQLResultMapping.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

hintsback to summary
public QueryHint[] hints()

(Optional) Query hints.

nameback to summary
public String name()

(Required) Unique name that references this stored procedure query.

parametersback to summary
public PLSQLParameter[] parameters()

(Optional) Defines the parameters to the stored procedure.

procedureNameback to summary
public String procedureName()

(Required) The name of the stored procedure.

resultClassback to summary
public Class<?> resultClass()

(Optional) Refers to the class of the result.

resultSetMappingback to summary
public String resultSetMapping()

(Optional) The name of the SQLResultMapping.