My Oracle Support Banner

For PDF Document Merger, "Process()" Should Be Used Instead Of "MergePDFocs()" (Doc ID 2650449.1)

Last updated on MARCH 18, 2020

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

On : 12.2 version, Enterprise : Administration

https://docs.oracle.com/middleware/12213/bip/BIPDV/javaapis.htm#BIPDV634
Fusion Middleware Developer's Guide for Oracle Business Intelligence Publisher
7 Using the BI Publisher Java APIs
7.7 PDF Document Merger

Examples from 7-22 to 7-27 use mergePDFDocs().

When the source with this method is compiled with javac, the following warning message is displayed.
-------------------------------------------------------
javac '/home/siebel17/Desktop/MergePDFFiles.java'
Note: /home/siebel17/Desktop/MergePDFFiles.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

javac -Xlint:deprecation '/home/siebel17/Desktop/MergePDFFiles.java'
/home/siebel17/Desktop/MergePDFFiles.java:25: warning: [deprecation] mergePDFDocs() in PDFDocMerger has been deprecated
      docMerger.mergePDFDocs();
               ^
1 warning
-------------------------------------------------------

ERROR
-----------------------
 warning: [deprecation] warning: [deprecation] mergePDFDocs() in PDFDocMerger has been deprecated



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. compile java application that uses mergePDFDocs().




Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.