HTMLDB Apps 1.5
Documentation
The same guide as the Docs tab in the app. Every tab and its features, the path from a Jira task to production, and how to install, upgrade and check a database.
Getting started
What HTMLDB Apps is
One page with a tab for each app: Dev (a database console and code editor), Tasks (Jira issues), Git (GitHub repos), AI (saved AI reviews, the DB skill and AI settings), Credential manager (API keys, certificates and AI models) and this Docs tab. Everything runs in the database the page is served from: the tabs call their own PL/SQL packages through ORDS, and nothing is installed on your computer.
The tabs work together. A table or package found in Tasks or Git opens in Dev, a Dev change can be committed to Git and linked to its Jira task, and an AI answer opens next to the code it is about. Switching tabs keeps each tab as you left it.
Signing in
The apps are for workspace developers. Two logins are needed in the same browser:
- the HTMLDB Apps application itself (its own login page), and
- APEX App Builder, as a developer or workspace administrator of the workspace the application is in.
When the App Builder login is missing or has timed out, the page opens the App Builder sign-in in another browser tab (with the workspace filled in). Sign in there and come back: the page reloads by itself and the tabs appear. If the browser blocks the pop-up, the page shows a button that opens it.
Each request from a tab is checked on the server: the application session must be alive, the App Builder session must belong to a developer, and the request must carry the random token the page was given. A request that fails says why (for example "Your APEX session timed out after being idle - reload the page").
The tab bar
- Tabs - click one to open it. The first visit loads it; afterwards it stays as you left it. Clicking the tab that is already open takes that app back to its start (Tasks: from a task back to the list).
- ⚠ n app(s) not shown - why? - appears when some tabs are not available to you; click it for the reason of each.
- ☀ / ☾ - light or dark theme for every tab at once. It is kept in a cookie for a year.
- ⚙ - Preferences: fonts, colours and this database's tab colour.
- Version - the version of the page package (htmldb_apps_pkg), at the right end.
The last tab you used opens next time, and the address ends with #dev, #tasks and so on, so a bookmark opens a given tab.
Which database am I in?
The page colours itself by database so production is never mistaken for test: the browser tab icon is a coloured square with the database letter
(by default P = PRD, T = TST,
D = DEV, O = any other),
the installed app's title bar takes the same colour, and the window title starts with host [DB].
The Dev console also shows the database in its brand label (for example "HTMLDB Dev Console - TEST"). The colour and letter can be changed in Preferences.
Preferences: fonts and colours
Open Preferences with the ⚙ in the tab bar. Every change shows at once; Save keeps it, Cancel (or Esc) drops it, Reset all goes back to the defaults.
- Interface font and Code font - pick one from the list or type any font installed on your computer (several, comma-separated, are tried in order). The code font is used by the editors and code blocks; the sample shows both.
- Code font size - the editors' text size. For bigger or smaller text everywhere, use the browser's zoom (Ctrl + and Ctrl -).
- Colours - the accent (buttons that are on or primary, the underline of the open tab, links here), the tab bar background and the tab bar text. "use the default" puts one back.
- This database - the colour and letter of the browser tab icon, the installed app's title bar and the brand labels. They are kept for this database and host, so another database keeps its own.
Preferences are kept in a cookie (HTMLDB_PREFS) in this browser for a year, so each browser - and each person - has its own.
Installing it as an app
HTMLDB Apps is an installable web app (PWA). In Chrome or Edge use the install icon in the address bar (or the browser menu, "Install HTMLDB Apps") to get it in its own window with a taskbar icon. Links that leave the app (Jira, GitHub, App Builder) open in your normal browser.
Things every tab does
- Working... - when a request to the server takes longer than 400 ms, a moving line and "Working..." show at the top until it is back. Quick background checks never show it.
- Clearing a search box - every Filter, Find and Search box has an × at its right end; a click empties it (a box that searches on Enter searches again).
- Messages - a click on a message closes it. In the Credential manager an error stays until closed and has a Copy button. Secrets (keys, tokens, passwords) are never shown in a message.
From a Jira task to production
The whole path at a glance
A change travels through three databases (DEV, TST, PRD), each with its own Git repo, and the Jira task follows it all the way. Every step that touches the code writes a comment on the task: what happened, who did it, in which database and when, with the links and details. At the end the task holds the whole history of the change - open it in the Tasks tab (or in Jira) to read it.
| 1. Task | The task is created (Tasks > New task, or in Jira) and assigned. |
|---|---|
| 2. Link | In the DEV console, open the package and pick the task with its Jira task button (or Use in Dev on the task). Noted: Linked. |
| 3. Change and test | Change it (by hand, or with the AI), compile it, test it in DEV. |
| 4. Commit | Commit... to the DEV repo. The task key leads the commit message. Noted: Committed - the repo, the commit links and every line added (+) and removed (-). |
| 5. Promote to TST | Promote... opens a pull request from the DEV repo into the TST repo. The task key leads its title. Noted: Promoted - the pull request link and its files. |
| 6. AI review in TST | In the TST console, Pull requests > Security review: the AI reviews what changes and recommends OK to merge or Fix before merge (also posted on the pull request). Noted: the verdict and the review. |
| 7a. Send back | Not right? Send back... closes the pull request with your reasons and deletes its branch. Noted: Sent back, and why. The fix starts again at step 3. |
| 7b. Merge | Right: Merge... merges it into the TST repo and opens the object checked out at the merged version. Noted: Merged - the merge commit. |
| 8. Compile in TST | Compile puts it into the TST database. Noted: Compiled (or Compile failed, with the errors). Then it is tested in TST. |
| 9. Promote to PRD | Approved in TST: from the TST console, Promote... into the PRD repo. Noted: Promoted to PRD. |
| 10. Final review and merge | In the PRD console: the final Security review, then Merge... (or Send back). Noted: the verdict, Merged. |
| 11. Compile in PRD | Compile in PRD. Noted: Compiled in PRD. The task can be resolved (Move to... Done, with its Resolution). |
How the task key travels
Each database has its own console, so the task key goes along in Git: it leads the commit message, the promote picks it up from there (or from the Jira task box of the Promote dialog) and puts it first in the pull request's title, and the next database finds it in that title. Nothing has to be typed twice. A key is only taken when its project is one the Tasks tab knows.
Reading the trail
Open the task in the Tasks tab: its Activity lists the trail with the other comments - the step in bold, the person, the database and the time, links to the commits and pull requests, and the changed lines in a code box. Jira shows the same comments. The comments are written by the Jira account the apps use, so each one names the person who did the step.
A step that could not reach Jira still happens; the console says it was not noted.
Dev - the database console About Dev →
The screen
- Top bar - the brand label (with the database name in its colour), Editor schema (the schema SQL windows run in: unqualified names resolve there), the tool buttons, and the Review model (the AI model used by AI Review).
- Left panel - Browse (the object tree) and Recent (objects you compiled, most recent first, with how often and when; × removes one).
- Editor tabs - SQL windows, objects and tools each open as a tab. Drag a tab to move it; right-click it for more options. A tab shows a spinner while it is running and a mark when it finished, or finished with errors.
- Bottom of a tab - results, output and errors of what ran in it.
On a phone or tablet the object tree slides in from the left (☰), toolbars scroll sideways and dialogs fill the screen.
Browsing objects
- Filter schemas narrows the schema list; the console's own schema is listed first.
- Object name starts with - type the start of a name (
%works as a wildcard) and press Enter to list matching objects in every open type. - Open a schema, then a type (Tables, Views, Packages, ...). Each type shows its count and how many are invalid.
- Invalid only shows only invalid objects. Compile invalid compiles every invalid object of the schema and rebuilds unusable indexes. It shows each object as it goes; objects that use a database link are done last, an object still compiling after the time limit is cancelled and skipped, and Stop cancels the one compiling and stops.
- Refresh reads the open schemas and types again.
- Hover an object for its last DDL time; click it to open it as a tab. An object someone else has open shows who and since when.
SQL windows
+ SQL opens a new SQL window. Its toolbar:
| Commit | Unticked: DML is rolled back and PL/SQL may not commit. Ticked: DML shows its row count and asks before committing. |
|---|---|
| Run | The statement at the cursor, or the selection (F9 or Ctrl+Enter). |
| Run Script | Every statement in the window, in order, with the output of each (F5). Cancel stops the script and the statement running now. |
| Run as job | Runs the statement at the cursor as a DBMS_SCHEDULER job: no web time limit. Watch it in Jobs and cancel it there. Use it for long updates, data loads and gather-stats. |
| Format | Lays out the selection, or the whole window (Ctrl+Shift+F). Ctrl+Z undoes it. |
| Compare with DB | For a CREATE OR REPLACE of a package, procedure, function, trigger or type in the window: shows the differences with the object in the database, part by part (spec before body), then lets you put either side in the editor, compile one part, or compile them all. |
| Explain | The execution plan of the statement. Full table scans are marked. From the plan: copy it, gather statistics for every table in it (as a background job; E-Business Suite tables through FND_STATS), or ask the AI which indexes would speed the query up (it gets the plan, the table sizes, their indexes and column statistics). |
| Find / Line | Find in the window (Ctrl+F; Enter or F3 next, Shift+Enter or Shift+F3 previous, Esc closes) with Replace (one, or all at once - one Ctrl+Z undoes it). Line goes to a line, or line:column (Ctrl+G). |
| Describe | Describes the object named under the cursor (for a table or view, its columns). |
| Save / Save as | Saves the window as a named script in your SQL History (Ctrl+S). Save as makes a new named script. |
| Save to APEX | For a window opened from Static files: writes the text back to that APEX static file. |
| Open file / Save file / Save file as | Files on your computer (Ctrl+O, Ctrl+Shift+S). |
| AI Review | Sends the selection, or the whole window (in parts when large), for an AI review. The answer opens as a review tab you can reply in, and is kept in the AI tab. |
| Send to AI | Describe a change; the selection or the whole window goes with it, screenshots can be pasted in. The AI answers with edit blocks: you see each change as a diff before it goes in, then apply and compile. |
Everything you run is kept in SQL History. The star marks a script as a favorite.
Query results
- The first rows come back at once. Fetch the next rows runs the query again and skips the rows already loaded; Fetch the rest loads every remaining row (50,000 per round trip) and can be stopped.
- Sort - click a heading to sort (again to reverse, a third time to reset). When not every row is loaded the query runs again in that order.
- Columns - drag a heading onto another to move it (also into or out of the fixed columns), drag its right edge to resize, right-click it to fix it at the left, Shift+click puts the columns back. Choose the columns to show; your choice is kept for that set of columns, on the server, so it follows you to any browser.
- Find duplicates - fetches every row, then highlights rows whose values all repeat another row's (the ROWID and the dates aside), counts them in a Dupes column and sorts the groups to the top.
- Copy as JSON (Shift+click opens it in an editor tab instead), or CSV.
- A cell - click to see the whole value. JSON opens formatted in a JSON tab. A CLOB can be loaded from a text file; a BLOB can be replaced with a file (saved and committed at once).
- Output shows DBMS_OUTPUT; Statement shows what ran.
Packages, procedures, functions, triggers and types
An object tab has sub-tabs: Source, Where used (what depends on it), Uses (what it depends on), Grants, Synonyms and Script (its full DDL, opened in a SQL window).
| Spec / Body | Switch between the package spec and body. |
|---|---|
| Compile | Compiles what is on screen. Errors show below with their line and position. |
| Outline | The list of procedures and functions on the left; type in its Filter, click one to go to it. |
| Save file / Save spec + body | Saves the source on screen, or both parts in one .sql file, ready to run in SQL*Plus. |
| Execute | Opens an anonymous block that calls the procedure or function under the cursor, with its arguments. |
| Find / Replace / Go to line | As in a SQL window. |
| Add file | Lists the APEX static files; click one to copy its script or link tag. |
| AI | A conversation about this object that is kept with it: review, explain or change it. Quick starts: Review the procedure at the cursor, Explain it, Fix the compile errors. Proposed changes show as diffs to apply, then compile. New conversation starts over. |
| Check out... | Loads a version from a Git repo into the editor (compile to deploy it). Your check-out comment starts the commit comment later. |
| Commit... | Commits the compiled source to a GitHub repo (see Dev and Git). |
| Compare | Diffs the compiled source against a repo. |
| Promote... | Opens a pull request from this repo into the next one (DEV to TST, TST to PRD). |
| Git history | The GitHub commits that touched this object; open one in the Git tab, or diff the database against the file as of that commit. |
| Jira task | The Jira task this change is for. Picking it is noted on the task, AI review can send it along, and every later step (commit, promote, review, merge, compile) is noted on it - see From a Jira task to production. Click it to change it; it opens in Tasks (Ctrl+click: in Jira). |
When someone else opens an object you have open, both of you see it. You can ask them to let you take it over; they answer Yes (it closes on their side) or No.
Tables and views
Sub-tabs: Columns, Data, Indexes (tables), Constraints, Triggers, Where used, Uses, Grants, Synonyms, Script.
- Columns - + Column adds one, Modify changes the selected one (type, size, precision, default, nullable, comment).
- Data - the rows, with a WHERE and ORDER BY that query the table again, and a Filter that narrows the rows already loaded. Edit a cell and save with Ctrl+S (saves and commits); + Row, Delete row, Inserts (INSERT statements for these rows, to run in another database).
- Indexes - + Index, Rebuild (ALTER INDEX ... REBUILD ONLINE: the table stays usable).
- Triggers - + Trigger, or open one.
- Grants / Synonyms - + Grant, Revoke, + Synonym.
- Git - Commit, Compare (the table with its indexes and triggers, against a repo or two repos against each other: the columns, constraints, comments, indexes and triggers each side lacks) and Git history.
E-Business Suite 12.2 editioned tables: code, synonyms, grants and triggers use the editioning view, so Triggers, Where used, Grants and Synonyms list the table and its editioning view together.
Database links
Under Database Links: Test connects through the link and reads the remote database name and user; Create... makes a new link (public, or in this schema); Drop removes one. Passwords typed for a link are never stored or logged.
SQL History
Every statement and script you ran, newest first, with how often and when. Search it, star favorites, name scripts (Save as) and open any of them in a SQL window. Unnamed, non-favorite entries are trimmed to the last 2,000 per user.
Sessions
The database sessions (every RAC instance): user, status, program, module, action, the SQL running and lock waits.
- CPU (s) - CPU used since the session logged on. CPU/min - CPU used per minute since the previous refresh: 60 means a whole CPU was busy.
- PGA used / alloc / max (MB) - memory of its server process: used now, allocated now, and the most it has had.
- Active only, Every 15 s (refresh while the tab is open; CPU/min then covers the last 15 seconds), Format SQL (lays out the selected session's SQL for reading), and a filter box.
- Kill session - the selected session (it asks first).
An install or upgrade shows here with module HTMLDB setup <release> and the step in Action.
Locks
DML locks, DDL / library cache locks and blocked sessions, with Kill session and Kill blocker, and Show source for the locked object. Filter by owner and object. Oracle-owned also shows locks on SYS, PUBLIC and other Oracle-maintained objects. Null (cached) locks: every session holds a Null lock on each object it has parsed or run (they never block); off shows only Share / Exclusive locks, lock requests and objects an active session is using. The source can be GV$LIBCACHE_LOCKS (fast, every instance, with the mode), DBA_DDL_LOCKS (mode held, this instance only, slow on a busy database) or GV$ACCESS (every instance, no mode); Auto takes the first one this schema can read. This session marks the console's own pooled session.
Storage
Tablespaces and their datafiles: size, used and free space. For an autoextend file the usage is measured against what it can grow to. Add a datafile (or a tempfile to a temporary tablespace), and Resize / autoextend a file (double-click a datafile does the same).
Jobs
DBMS_SCHEDULER jobs: their state, schedule, last and next run, and the run log with each run's output and errors.
- + New job - what to run, when, how often, and the time zone the schedule follows (daylight saving included).
- Edit, Run now (in the background), Stop (force), Drop, enable / disable.
- Action in editor opens what the job runs in a SQL window; Script gives a script that drops and creates the job again with all its settings.
- From a run: put its DBMS_OUTPUT in the Output tab, or open its statement in a new SQL window.
Jobs started by Run as job, Gather statistics and Export DDL show here.
Export DDL
Exports the DDL of chosen schemas and object types to a zip. Tick the schemas and types (All / None), optionally an include pattern (for example HTMLDB%, XX_ORDER*), an exclude pattern and "changed since" a date, then Start export.
It runs in the background at low priority with a progress count; Cancel stops it. Finished exports can be downloaded or deleted; they are kept 7 days.
APEX
The applications and pages of this workspace.
- An application - Export app (download the .sql), App in editor (the export in a SQL window), Commit app..., Compare app, Promote app..., and App Builder.
- Pages - tick pages to Export them as one file or open the export In editor; Commit, Compare and Promote a page; open it in Page Designer.
- Import... - an application, page or component export (.sql). Installing with another application id makes a copy with new component ids.
Static files
The APEX workspace and application static files.
- Upload... (or drop files on the list) - a file with the same name is replaced. Folder sets where uploads and new files go (for example
vuejs/) and shows that folder only. - New file creates a text file in an editor; Edit opens one - Save to APEX in that editor writes it back.
- Download, Rename (also moves it:
a/b/name), Delete. - Copy tag - the <script> or <link> tag for the file. The two boxes put a variable name (or any text) in place of
#WORKSPACE_FILES#/#APP_FILES#, so the tag can be pasted into PL/SQL; they are remembered.
Git repos
Sets up the GitHub repos the console commits to, and which objects go to which repo.
- + Repo - a code (for example APP_DEV), owner/repo, branch, the token (a Credential manager key name, or a token typed in), the GitHub API address and wallet for GitHub Enterprise, the path template (default
{schema}/{folder}/{name}.{ext}), the repo it promotes to, who may use it, and Databases: the instances this repo belongs to (Commit and Promote start with it there). Test connection checks the token, the repo and the branch. - + Rule - a schema pattern and a name pattern that send matching objects to a repo; rules are tried in sequence order.
Dev and Git: commit, compare, check out, promote
- Which repo - the repo set for this database (its Databases field), else the first rule that matches the object; you can switch it in the dialog.
- Which file - the repo's path template, for example
APP/packages/htmldb_auth_pkg.pkb. - Commit... - write a comment (your check-out comment starts it), pick the Jira task, View differences, then Commit. The task key leads the commit message, and the task gets a comment with who committed, where, the commit links and the lines added and removed.
- Compare - the database against the repo, or two repos; whitespace-only changes can be ignored. Open either side in a SQL window.
- Check out... - loads a repo version into the editor; compile it to deploy it. A bar shows where the code came from until you hide it.
- Promote... - creates the pull request into the next repo (DEV to TST, TST to PRD). Its Jira task box starts with the object's task (or the one its last commit names); the key leads the pull request title and the promotion is noted on the task.
- Pull requests (top bar) - the open pull requests into this database's repo. For each: see what it changes (its branch against where it goes) and what compiling it here would change, run the AI Security review (posted on the pull request, its verdict noted on the Jira task), Merge... (merges, deletes its branch and opens the object checked out at the merged version - its compile here is noted on the task; GitHub still enforces approvals) or Send back... (closes it with your reasons as a comment, also on its Jira task, and deletes its branch). Pull requests sent back from TST / PRD are listed with who, when and why.
Skill and Reviews
Skill opens the DB skill and Reviews the saved AI reviews, both in the AI tab. The Review list in the top bar picks the model AI Review uses.
Keyboard
| F9 / Ctrl+Enter | Run the statement at the cursor |
|---|---|
| F5 | Run the whole window as a script |
| Ctrl+S | Save the script / save a cell or row (and commit) |
| Ctrl+Shift+S | Save to a file |
| Ctrl+O | Open a file |
| Ctrl+Shift+F | Format |
| Ctrl+F, F3, Shift+F3 | Find, next, previous |
| Ctrl+G | Go to line (or line:column) |
| Ctrl+Z | Undo (also a whole Replace all or Format) |
| Esc | Close the find bar or a dialog |
Tasks - Jira issues About Tasks →
How it works
Tasks keeps a copy of your Jira issues in the database, so the list opens and filters instantly. A scheduler job syncs it with Jira every few minutes (the time of the next sync shows at the top), and Sync with Jira syncs at once. Everything you change (status, fields, comments, work logs, links, attachments) goes straight to Jira and then into the copy.
My user (top right) - pick your Jira user once; "me", "Assign to me" and the "(me)" marks use it. Click it to change it.
The top has two views: Tasks (the list and one task at a time) and Activity (what happened, across tasks).
The task list
- Search - key, summary or label.
- Status - To Do, In Progress and Done. The list starts with To Do and In Progress, assigned to you.
- Project, Assignee (Anyone, Unassigned, or a person), Created by, and how the two combine: Either (assigned to or created by) or Both.
- Priority, Type, Has activity, Overdue only.
- Reset filters goes back to that start.
- Sort - pick a column, or click a column heading (again to reverse). Stack Rank sorts 1 to 5, then Below, then anything else.
- Columns: Key, Type, # (sub-tasks), Summary, Status, Priority, Stack Rank, Assignee, Due, Updated, Viewed, Activity.
- The list is grouped; click a group heading to hide or show it.
Changing many tasks at once
Tick tasks (the heading box selects every task in the list, the Unassigned box selects the unassigned ones). A bar appears to set, for all of them at once: Status, Priority, Assignee (Unassigned, Me or a person), Add labels and Remove labels. Clear selection unticks them. A status change that needs a resolution uses Done (or Fixed).
One task
Click a task to open it. ← Back (or clicking the Tasks tab again) returns to the list.
| Move to... | The transitions Jira allows from its status. A transition that resolves the task shows a Resolution list (marked * when Jira requires it - pick it first), and takes an optional comment. |
|---|---|
| Assignee | Anyone who can be assigned; Assign to me in one click. |
| Priority, Stack Rank, Labels, Description | Edit them, then Save changes (Undo drops your edits). Stack Rank offers the values Jira's edit screen allows (1 to 5, Below) or None. |
| Attachments | Open one (images and text show in the page), + Attach files to add some. |
| Linked work items | + Link creates a new issue linked to this one, or links an existing issue (by key) with the relation you pick. × removes a link. Sub-tasks show with how far along they are. |
| Comment | Jira wiki markup; @ mentions someone; paste images straight into it; Ctrl+Enter adds it. What you type is kept if you open another task or reload. |
| Log work | Time spent (for example 1h 30m) and what was done. |
| Activity | All activity, Comments, Work log, or All fields - the task's history, including the code trail from Dev (each step in bold, links to commits and pull requests, changed lines in a code box). |
| Use in Dev | Makes this the Jira task of the code object open in the Dev tab: from then on each step of the change - linked, committed, promoted, reviewed, merged, compiled - is noted on this task. |
| Open in Jira | ↗ opens the task in Jira. |
| Refresh | Reads the task from Jira again. |
New task (+ in the top bar) creates an issue: summary, description (Jira wiki markup), priority, assignee, due and start dates, labels, and attachments (up to 10 MB each). From a task, + Link creates one linked to it.
Activity view
Everything that happened across tasks: comments, field changes and work logs. Filter by Type, Who, Project and text. Detail lists each event; Summary by day groups them per day with a Copy button (issue and summary of that day) - handy for a time sheet.
AI on a task
The AI button on a task asks the AI about it, or has it write the code. What goes along:
- Your request - what you want: a question, or the code to write (what it should do, where, any rules). Paste screenshots anywhere in the window (Ctrl+V).
- Task attachments - tick the ones to send (images and text files).
- More files - files from your computer.
- Database objects - find objects by name (start of it, or a pattern with %), owner and type; their code goes along.
- Model - which AI model (the default is set in AI > Settings).
Send to AI - a background job writes the answer, so a long one never hits the web server's time limit; the page shows its progress and the job can be seen in Dev > Jobs. When the answer is in:
- Review in Dev - opens the object with this task set and shows the AI's changes to review, apply and compile.
- Open in Dev - new objects open in a SQL window; what they create gets this task for its Git commit.
- Send reply - follow up in the same conversation (what to change, what is wrong, another question).
- Edit and resend - back to the form with this request, to change it and send it as a new conversation.
- Copy the answer, Delete, New conversation.
Earlier requests for the task are listed so you can reopen them.
Git - GitHub repos About Git →
How it works
Git works on the repos set up in Dev > Git repos. The GitHub token stays on the server (the repo's token, or its Credential manager key) and never reaches the browser, so what you can do is what that token allows. The left side lists the repos; under each one:
Overview, Code, Commits, Branches, Tags, Compare, Pull requests, Issues, Releases, Actions and Compare objects, plus Changelog across all repos. Each opens as a tab; ↻ reloads the repo details and its branches, and GitHub opens the same page on github.com.
Code
- Browse the folders of a branch or tag (Expand all / Collapse all). Find file searches file names: off, each word must start a name; on, each word can be anywhere.
- View file shows it with line numbers. From a file: Copy, Download, History (its commits), and for a database object Open in console (the object from this database in Dev).
- Edit and Commit changes... - on a branch, when the token can push. + New file creates a file in the folder; Delete removes one (both commit).
Commits and the changelog
- The commit log of a branch, optionally for one path. Load more, or Load all (until the end, or 5,000 commits).
- Changelog (.md) and CSV download the loaded commits.
- A commit shows its message, files and diff (lines that differ only in whitespace can be hidden). From it: Compare with parent, Browse files (the repo as of that commit), Branch from here, Tag, Copy SHA. A Jira key in a message opens in the Tasks tab.
- Changelog (left, under the repos) - the commits of the repos you tick, between two dates, in one list; download it as Markdown or CSV.
Branches, tags, compare
Branches and Tags list them; Switch to browses one. Compare shows what a compare branch has that the base lacks (commits and files changed); ⇄ swaps base and compare, and New pull request starts one from there.
Pull requests
The pull requests of the repo. One opens with its conversation, commits and files changed (a database object in it can be opened in Dev, spec or body). Comment adds to the conversation; Merge... merges it (GitHub still enforces its approval rules). Promotions made from Dev (DEV to TST, TST to PRD) arrive here, and Dev > Pull requests offers the database-side view of the same pull requests: what compiling it here would change, the security review, Send back.
Issues, releases, Actions
Issues and Releases of the repo, and Actions: the GitHub Actions runs with their state; open a run on GitHub.
Compare objects
Two repos side by side (for example DEV and PRD): which objects differ, and for each one what one side lacks of the other. ⇄ swaps the two repos. Use it before a release to see what has not been promoted yet.
AI - reviews, DB skill and settings About AI →
How the AI is used
The AI works from the other tabs: AI Review, Send to AI and the object AI conversation in Dev, the Explain plan advice, the Security review of a pull request, and the AI button of a Jira task. The AI tab keeps every answer, holds the DB skill that goes with every prompt, and sets the defaults. The models themselves (endpoint, key) are kept in Credential manager > AI models; keys never reach the browser.
Reviews
Every AI answer from Dev, as it comes back: subject, object, model, tokens and when. Search (object, question and review text, Enter) searches the server; Filter list narrows what is listed. Click one to read it (each part of a long review, and your questions in a conversation). Continue in Dev (or double-click) opens it as a review tab next to its code, where you can reply. Copy, Delete.
DB skill
The house rules and the Oracle / APEX versions to target, sent with every AI review and request - for example the join style, indentation, naming and exception-handler conventions. Edit it and Save (Ctrl+S). Reset to defaults rebuilds it with the current database and APEX versions. When the database or APEX is upgraded, its version lines are updated by themselves.
Settings
AI providers and models - any provider that speaks the OpenAI chat-completions or the Anthropic messages format: Azure OpenAI, Azure AI Foundry, OpenAI, Google Gemini, Mistral, Groq, DeepSeek, xAI, OpenRouter, a local Ollama, or your own. Add or change AI models... opens the Credential manager.
Default AI model for the AI button of a Jira task (else the first model in use). Save.
Credential manager - keys, certificates, AI models About the Credential manager →
How secrets are kept
Every secret is encrypted in the database with AES-256 (a fresh random IV for each value) under a master key the schema makes on first use.
A secret is never sent to the browser: the screen shows whether it is set and its last 4 characters, and takes a new value when you type one.
Code reads a key with htmldb_api_manager_pkg.getkey('NAME'), and only the packages you allow may read it. Every change is written to the Audit log (who, when, what - never the values).
API keys
+ New key, or click a key to change it.
| Key name | What code asks for, for example ANTHROPIC_API_KEY. |
|---|---|
| Description | What it is for. |
| Packages allowed to read it | * for any package of this schema, or a list such as HTMLDB_DEV_PWA_PKG, SHIP_RATES_PKG. |
| Wallet | The trusted certificates its HTTPS calls use (see Certificates). |
| Value | The key itself - or, for OAuth, the headers of the token request (for example Authorization: Basic ..., one per line). |
| Access token URL / Token request body | OAuth only: where a token is requested, and the body sent (grant_type=..., client_secret=...). Leave blank for a plain key. |
| Test value | A second value for testing. |
Type in a secret's box to replace it, or clear it. Test requests a new OAuth token now (for an OAuth key), or checks that the stored value decrypts. OAuth tokens are refreshed by getkey when they expire within a minute, and by the scheduler job HTMLDB_API_GETTOKENS every 5 minutes. The list shows each key's token expiry, wallet, certificate expiry and the packages allowed.
Certificates
Each HTTPS API trusts only its own certificate chain. + New: a wallet name (what code passes as p_wallet, for example GITHUBCERT) and the API address (https://api.example.com).
Read certificates and save reads the chain from that address over TLS and stores it encrypted - no Oracle wallet files on the server. The list shows when each chain's certificates expire.
When a site changes its certificate, open it and Save and read certificates again; a call that fails the certificate check also reads its wallet again and retries once by itself. Test calls the address with the stored chain.
A server whose own certificate is in the wallet is trusted even when the host name it is reached by does not match it.
AI models
+ New model, or click one to change it.
| Name | What the lists show, for example "Claude Sonnet 5.5". |
|---|---|
| Model code | Lower case, saved with each review, for example claude-sonnet-5-5. |
| Provider | Picking one fills in the request details below; change any of them for your setup. |
| API key | A key from the Credential manager, or this model's own key (paste it; stored encrypted, never shown again). Some providers need none (key header NONE). |
| Endpoint and API model | The address requests go to, and the model (or Azure deployment) name the provider expects. |
| Request details | Format (OpenAI chat completions or Anthropic messages), key header (Authorization, api-key, x-api-key, or NONE), key prefix (for example "Bearer "), extra headers (one Name: value per line, for example anthropic-version: 2023-06-01), and whether the model name goes in the request (off for an Azure OpenAI deployment URL). |
| Wallet, max tokens, enabled, order | The endpoint's certificates, the longest answer allowed, whether it is offered, and its place in the lists. |
Test sends one tiny request: it proves the endpoint, the key and the certificates work.
Audit log
Who added, changed or deleted which key, certificate or model, and when. Values are never logged.
Install, upgrade and versions
Installing or upgrading
HTMLDB Apps is installed as an APEX application: App Builder > Import, pick the export file, choose the parsing schema (where everything goes) and install the supporting objects. They create the tables, sequences, Java sources and packages in that schema, check every package and create the scheduler jobs. Importing a later release over it upgrades it: only missing objects and columns are added, data changes run once, every package is replaced, and your data is kept.
A DBA must grant the parsing schema, directly: execute on SYS.DBMS_CRYPTO, the Java network permissions for HTTPS calls, and CREATE JOB / PROCEDURE / SEQUENCE / TABLE.
Do it when nobody is using the apps: replacing a package waits for every session that is running it.
Checking where a database stands
In SQL Workshop > SQL Commands (or a Dev SQL window):
begin htmldb_setup_pkg.status; end;
It shows the release recorded, each package's version against the release, what still needs compiling, compile errors, the jobs, and who is using the packages.
begin htmldb_setup_pkg.install_app; end; runs the whole install again; begin htmldb_setup_pkg.finish; end; recompiles, checks and records the release.
While it installs, its session shows module HTMLDB setup <release>, the step in Action and "package file n of 16" in Client info - watch it in Dev > Sessions.
Version numbers
Every package has its own version, MAJOR.MINOR.PATCH: PATCH for a fix, MINOR for something added that breaks nothing, MAJOR when callers must change.
The release (the application's version, for example 1.2.0) moves with the biggest package change in it. Each install or upgrade is recorded in HTMLDB_RELEASE_LOG.
The page's version shows at the right of the tab bar; each tab shows its own.
When something goes wrong
A tab is missing
Click ⚠ n app(s) not shown - why? in the tab bar for the reason. Usually: the App Builder login has timed out (sign in again in App Builder and reload), or the tab's package is invalid (run htmldb_setup_pkg.status).
"Your APEX session timed out" / "session token is out of date"
Reload the page (Ctrl+Shift+R also loads the newest scripts after an upgrade). If it keeps happening, sign in to App Builder again in the same browser.
A statement runs too long
Web requests stop after about a minute. Use Run as job for long work, and watch or cancel it in Jobs. A stuck session can be found in Sessions or Locks and killed there.
An HTTPS call fails (Jira, GitHub, an API)
Check the key in the Credential manager (Test), then its certificate chain (build it again if the site changed its certificate). The error names the host it tried.
An AI request has no answer
Task AI requests run as a scheduler job; after 20 minutes without an answer the request says so, and the job (HTMLDB_AI_WRITE_<id>) can be checked in Dev > Jobs.
Check the model with Test in Credential manager > AI models.