JPA Annotation Attributein javax.persistence.StoredProcedureParameterParameterMode mode default ParameterMode.IN Specifies whether the parameter is an IN, INOUT, OUT, or REF_CURSOR parameter. REF_CURSOR parameters are used by some databases to return result sets from a stored procedure. Since:JPA 2.1