Pages
- Home
- Oracle APEX Change Management System | Yasser Hassan Portfolio
- Oracle Change Management System Demo
- SQL Fundamentals
- SQL Fundamentals II
- PHP
- SQL PLUS
- PL/SQL
- Forms and Reports
- HTML5
- JavaScript
- Java
- PL/SQL Collections and Records
- PL/SQL Transactions
- Ref Cursors
- PL/SQL Analytic Functions
- Problems and solves
- Oracle Indexes
- Work Samples
- Record & Collection
- Conditional statements
- LOOP
- Triggers
- Object Oriented
- NLS_LANG
- Oracle Interview Question
- About Me
- Contact Me
- Privacy Policy
Thursday, November 19, 2026
Challenge of Dynamic Report Generator in Oracle APEX
Sunday, November 8, 2026
Report Generator
Building a Flexible Report Generator in Oracle APEX
I recently wrapped up the development of a new Report Generator feature for our application, and I wanted to share a little bit about the journey and the value it brings.
In many enterprise systems, we fall into the trap of building a separate screen for every single report. It works, but it bloats the application and makes maintenance a headache. My goal for this project was to build something smarter: a single, unified page where users can simply select a report from a dropdown, and the system dynamically builds and displays the right data.
🎯 The Goal: One Page to Rule Them All
Instead of hardcoding dozens of different report pages, the backend of this new feature is fully dynamic. Users simply pick the Report ID they need, and the application generates the SQL and renders the correct columns and data on the fly.
It completely changes the user experience. There is no more navigating through endless menus looking for the right report page. The application adapts to the user's needs instantly, providing a cleaner and much faster workflow.
🧩 The Hidden Technical Challenge
While the user experience looks seamless, building this in Oracle APEX was definitely a puzzle. APEX is a fantastic low-code tool, but it heavily relies on predefined metadata—it wants to know exactly what the columns are before the page even loads.
When you throw a fully dynamic SQL query at it, you have to work around its default behaviors. I had to dive into the browser's Developer Tools and utilize custom front-end scripts to ensure the UI perfectly matched whatever the backend decided to return. This meant ensuring the table didn't display empty, generic columns and that the headers were always accurate.
It was a great reminder that even in a "low-code" environment, sometimes you have to get creative with DOM manipulation and PL/SQL to achieve a truly seamless experience.
💡 Key Takeaways
- User Experience is King: The extra effort to make a unified, dynamic page is completely worth it when the interface feels clean and intuitive to the end-user.
- Flexibility vs. Structure: Balancing dynamic backend queries with frontend rendering tools is tricky, but it’s a powerful skill to develop.
- Debugging is Half the Job: A lot of my time was spent in the Network tab and reading debug logs, but it’s the only way to build robust systems that don't break under edge cases.
🚀 Final Thoughts
I’m really proud of how this feature turned out. It’s clean, scalable, and will make adding new reports in the future incredibly easy without touching the UI code.
Have you ever had to fight with a framework’s default behavior to make something dynamic? Let me know how you handled it in the comments!
Tags: #OracleAPEX #PLSQL #SoftwareDevelopment #LowCode #UserExperience #WebDevelopment
Monday, November 2, 2026
Understanding generative AI support in APEX
Integrating Artificial Intelligence with Oracle APEX: Practical Applications for Enterprise Systems
Introduction
Artificial Intelligence (AI) is changing how enterprise applications are developed and used. Oracle Application Express (APEX) provides built-in capabilities for integrating generative AI services, creating AI assistants, and developing intelligent applications that interact with business data. These capabilities allow developers to move beyond traditional forms and reports toward applications that can interpret natural-language requests and assist users with data analysis and business tasks (Oracle, n.d.-a).
How AI Works in Oracle APEX
Oracle APEX supports integration with external generative AI providers, including OpenAI, Google Gemini, and Oracle Cloud Infrastructure (OCI) Generative AI. Developers can configure a Generative AI Service and use it within application components.
There are several practical ways to use AI in APEX:
- AI-assisted development: APEX Assistant can help developers write, explain, and improve SQL and PL/SQL code directly within development editors.
- AI-powered reporting: Users can interact with reports using natural-language instructions instead of manually configuring filters, sorting, and other report settings.
- AI assistants: Developers can integrate conversational interfaces that allow users to ask questions about application data.
- AI agents: AI agents can use predefined tools to retrieve information or perform approved application operations based on user requests.
Oracle APEX 26.2 further enhances AI integration through updated provider APIs, configurable reasoning effort, and improvements to AI Interactive Reports (Oracle, 2026a).
Practical Example: AI in a Database Change Management System
Consider an enterprise Database Change Management System that manages change requests, reviews, approvals, testing, deployments, and rollback operations.
Traditionally, users navigate through different application pages to retrieve information and understand deployment results. An AI-powered assistant could provide a more convenient experience.
For example, a user could ask:
- "Summarize change request 105."
- "Show all deployments that failed this month."
- "Which change requests are waiting for approval?"
- "Explain the latest deployment result."
- "Prepare an executive summary of recent change activities."
An AI agent can be configured with specific tools that retrieve authorized information from database tables such as CHANGE_REQUESTS, CHANGE_APPROVALS, DEPLOYMENTS, and TEST_RESULTS. The agent uses the retrieved information to formulate a natural-language response.
Oracle explains that APEX AI agents combine a generative AI service, instructions, and tools. Developers define which tools an agent can use, allowing the application to control the operations available to it (Oracle, 2026b).
Security Considerations
Integrating AI into enterprise applications requires careful attention to security. AI-generated responses should not replace database authorization or established business rules.
For example, an AI assistant may explain why a deployment failed, but it should not automatically execute a deployment or approve a change request without appropriate authorization and validation.
Developers should also protect API credentials, restrict access to sensitive information, validate tool inputs, and apply server-side authorization. Oracle APEX 26.2 introduces integration with Oracle Deep Data Security, supporting centralized row-, column-, and value-level access controls at the database level (Oracle, 2026a).
Conclusion
Integrating AI with Oracle APEX creates opportunities to develop more intelligent and user-friendly enterprise applications. AI assistants can simplify access to business information, AI-powered reporting can improve data analysis, and AI agents can support controlled business operations.
For database developers, the most valuable approach is to combine AI capabilities with reliable SQL, PL/SQL, database security, and well-defined business workflows. AI should enhance existing application architecture rather than replace its essential controls.
References
Oracle. (n.d.-a). Understanding generative AI support in APEX. Oracle APEX 26.2 Documentation. https://docs.oracle.com/en/database/oracle/apex/26.2/htmdb/understanding-generative-ai-support-in-apex.html
Oracle. (2026a, October 6). Announcing Oracle APEX 26.2 general availability. Oracle APEX Blog. https://blogs.oracle.com/apex/announcing-oracle-apex-262
Oracle. (2026b, October 6). Oracle APEX 26.2: Working with generative AI provider APIs and reasoning effort. Oracle APEX Blog. https://blogs.oracle.com/apex/working-with-generative-ai-provider-apis-and-reasoning-effort
My Personal Experience
In my 17 years as a Senior Oracle Developer, I have seen how new technologies can transform enterprise systems. While working on my Master's Capstone Project (the Oracle APEX Change Management System), I explored how AI agents could be integrated to help users analyze change requests more efficiently. In my actual project, I designed the security model to ensure that the AI could retrieve data without ever bypassing the Role-Based Access Control (RBAC) that protects the database. This hands-on experience showed me that AI should act as an assistant, not a replacement for robust SQL and PL/SQL logic.