Book Image

Oracle APEX Best Practices

Book Image

Oracle APEX Best Practices

Overview of this book

Have you ever wanted to create real-world database applications? In this book you're not only getting APEX best practices, but will also take into account the total environment of an APEX application and benefit from it."Oracle APEX Best Practices" will guide you through the development of real-world applications. It will give you a broader view of APEX. The various aspects include setting up APEX environment, testing and debugging, security, and getting the best out of SQL and PL/SQL.In six distinct chapters you will learn about different features of Oracle APEX as well as SQL and PL/SQL.Do you maximize the capabilities of Oracle APEX? Do you use all the power that SQL and PL/SQL have to offer? Do you want to learn how to build a secure, fully functional application? Then this is the book you'll need. "Oracle APEX: Best Practices" is where practical development begins!
Table of Contents (14 chapters)
Oracle APEX Best Practices
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

How to bypass the 32K limit


One issue, which will be addressed in the next version of Application Express, is the 32K limit on report columns. This means that only fairly small images are currently supported when using the technique with report queries or report regions. If the XML data is generated some other way, and the PDF rendering is done using the Print API, the use of larger images would be possible as well.

The 32K limit on report columns can be bypassed by using the Print APIs—apex_util.download_print_document and apex_util.get_print_document. With these APIs, you can generate PDF and other documents through a simple PL/SQL API call. These APIs take care of all the communication with BI Publisher or Apache FOP.

The apex_util.get_print_document API can be called to generate and retrieve the print document as a BLOB in the database for further processing, such as storing the document in tables, and so on.

The apex_util.download_print_document API can be called in an Oracle Application...