Skip to main content

Posts

Featured post

Parsing Resume PDFs in Oracle APEX with Gemini AI

Introduction Anyone who has built a recruitment or HR application knows the pain: candidates send resumes as PDFs, and someone has to re-type the name, phone, email, address and education into a form. It is slow and error-prone. In this post I will show how to automate it in Oracle APEX using a Gemini multimodal model. The user uploads a PDF, clicks Parse , and a single PL/SQL process sends the PDF to the AI, receives structured JSON, and populates the page items. No external middleware, no OCR library — just APEX and PL/SQL. What We Are Building The flow is simple: The user uploads a resume PDF using a File Browse item ( P2_RESUME ). On clicking Parse , a PL/SQL process reads the file from APEX temp files. The PDF is Base64-encoded and sent to the Gemini API together with an instruction prompt. Gemini returns a JSON object with the extracted fields. The JSON is parsed and the values are placed in...
Recent posts

Restrict Search Input to Alphanumeric Characters in Oracle APEX Interactive Grid and Interactive Report

Introduction The search box in an Interactive Grid (IG) or Interactive Report (IR) accepts any character by default. In some applications, business rules require end users to enter only letters ( a-z , A-Z ) and numbers ( 0-9 ) when using the All Text Columns search option. Special characters such as @ , # , % or ' should not be allowed. Oracle APEX does not provide a declarative setting — such as an input mask or pattern — for the built-in search field. In this post, we implement the restriction with a small, reusable JavaScript file that applies to every Interactive Grid and Interactive Report in the application automatically. Requirement The search field must accept only a-z , A-Z and 0-9 (spaces allowed, optional). The restriction must work for typing , pasting and drag-and-drop . It must apply to all pages automatically , with no per-page setup. It must cover both Interactive Grid and I...

Backing Up Oracle APEX Applications to GitHub Automatically (No External Tools Needed)

Backing Up Oracle APEX Applications to GitHub Automatically (No External Tools Needed) Before every deployment, I want a safe copy of my APEX application stored somewhere I can always get back to. In this post I'll show how to push a full application export to a GitHub repository, with the date in the folder name, using only PL/SQL inside APEX. It works on the free apex.oracle.com service, so you can try it without installing anything. What We Are Building A button in an APEX page that does this: Exports your application using APEX_EXPORT Sends the file to GitHub through the GitHub REST API Stores it in a dated folder, like backups/2026-10-06_133022/ Every click creates a new restore point you can see in GitHub's history. backups/ 2026-10-06_133022/ f185224.sql <- single-file export, restore with App Builder > Import split/f185224/... <- optional, one file pe...

Protect Sensitive Data from AI with Oracle Database

Protect Sensitive Data from AI with Oracle Database The rapid adoption of Artificial Intelligence (AI) and Large Language Models (LLMs) is transforming how enterprises operate, innovate, and interact with customers. From intelligent chatbots and AI-powered applications to autonomous agents capable of analyzing enterprise data, organizations are increasingly connecting AI systems directly to business information. However, this creates a critical security challenge. Enterprise databases often contain Personally Identifiable Information (PII), financial information, confidential business data, customer records, and other sensitive information . If an AI agent is given excessive access to this data, a malicious or carefully crafted prompt could potentially cause the agent to retrieve or expose information that the user should never be allowed to see. This leads to an important principle: Important Principle AI security should not depend entirely on AI guar...