zorantica / plsql-qr-code

Oracle PL/SQL Package and APEX plugin for QR Code Generation
MIT License
52 stars 20 forks source link
apex apex-plugin oracle plsql qrcode-generator

Oracle PL/SQL Package and APEX plugin for QR Code Generation

QR Codes Generator package provides functionality to quickly and efficiently generate QR Codes (module 2) directly from Oracle database.

It requires no additional resources and it is developed in pure PL/SQL.

Item-type APEX plugin uses PL/SQL package for calculations and graphical implementation of QR code and simplifies QR code usage in APEX applications.

Changelog

Install PL/SQL package

New Package ZT_QR is created in database schema.

How to use PL/SQL package

Procedure and Function descriptions with input and output parameters and examples are located in package definition script.

Use JPG images instead of BMP

BI Publisher (and potentialy some other software) is not displaying QR code BMP images correctly.

Solution is to convert BMP images to JPG using JAVA in database - thanks to mr Hamzeh Fathi (hfathi54@gmail.com).

How to install and use this functionality:

That's it. Usage example for standalone function can be found in file "example.sql".

Remark: this way images also get smaller in size.

Install APEX plugin

For older versions of APEX, which use deprecated "Function" API interface use plugin file "item_type_plugin_eu_zttech_qr_code_func_api.sql" from "apex plugin/older versions" directory.

Plugin Settings

For calculation and graphic representation of QR Code there are following parameters:

Demo Application

https://apex.oracle.com/pls/apex/f?p=zttechdemo