Class PLSQLStoredFunctionCall

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, Call

    public class PLSQLStoredFunctionCall
    extends PLSQLStoredProcedureCall
    Purpose: Used to define a platform independent function call. Note that not all platforms support stored functions. This supports output parameters. Functions can also be called through custom SQL.
    See Also:
    Serialized Form
    • Constructor Detail

      • PLSQLStoredFunctionCall

        public PLSQLStoredFunctionCall()
      • PLSQLStoredFunctionCall

        public PLSQLStoredFunctionCall​(org.eclipse.persistence.internal.helper.DatabaseType databaseType)
      • PLSQLStoredFunctionCall

        public PLSQLStoredFunctionCall​(org.eclipse.persistence.internal.helper.DatabaseType databaseType,
                                       int length)
      • PLSQLStoredFunctionCall

        public PLSQLStoredFunctionCall​(org.eclipse.persistence.internal.helper.DatabaseType databaseType,
                                       int length,
                                       int scale)
    • Method Detail

      • getCallHeader

        public java.lang.String getCallHeader​(org.eclipse.persistence.internal.databaseaccess.DatabasePlatform platform)
        INTERNAL: Return call header for the call string.
        Overrides:
        getCallHeader in class StoredProcedureCall
      • isStoredFunctionCall

        public boolean isStoredFunctionCall()
        INTERNAL:
        Overrides:
        isStoredFunctionCall in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
      • isStoredPLSQLFunctionCall

        public boolean isStoredPLSQLFunctionCall()
        Overrides:
        isStoredPLSQLFunctionCall in class org.eclipse.persistence.internal.databaseaccess.DatasourceCall
      • setResult

        public void setResult​(org.eclipse.persistence.internal.helper.DatabaseType databaseType)
        PUBLIC: Define the return type of the function.
      • setResult

        public void setResult​(org.eclipse.persistence.internal.helper.DatabaseType databaseType,
                              int length)
        PUBLIC: Define the return type of the function.
      • setResult

        public void setResult​(org.eclipse.persistence.internal.helper.DatabaseType databaseType,
                              int length,
                              int scale)
        PUBLIC: Define the return type of the function.