Handling Query Parameters in JavaScript-based ORDS Endpoints
Oracle REST Data Services (ORDS) allows you to REST-enable your Oracle Database. REST is short for Representational State Transfer, and REST calls are typically used as your database API (Applicatiβ¦
π New post: Handling query parameters in JavaScript-based Oracle REST Data Services (ORDS) endpoints
Covers:
β’ How ORDS exposes query parameters
β’ Safe access & validation patterns
β’ Pitfalls (implicit type conversion!)
β’ Making endpoints more predictable
π martincarstenbach.com/2026/02/20/h...
20.02.2026 09:51 β
π 1
π 0
π¬ 0
π 0
Optimistic Locking Made Easy: The Power of ETags in Action
JSON Relational Duality Views are one of the most remarkable features introduced with Oracle AI Database 26ai. They effortlessly blend the best of both worlds: relational and document, greatly simpβ¦
With #JSON duality views in Oracle AI Database you can build a JSON interface over database tables
These come with lost-update detection via ETags
@martindba.bsky.social shows how this prevents conflicting writes for REST calls by using the if-match header
17.02.2026 12:02 β
π 1
π 1
π¬ 0
π 0
Wow, I admire your dedication!
15.02.2026 06:46 β
π 1
π 0
π¬ 0
π 0
I found a GitHub issue where they said they enhanced microdnf but thatβs further upstream than my current OL9 release. Itβs big brother got the job done
13.02.2026 13:18 β
π 1
π 0
π¬ 0
π 0
Dβoh! Scratched my head for 10 minutes asking myself why microdnf doesnβt find the local rpm. Turns out microdnf as it ships in Oracle Linux 9 simply canβt install local RPMs. Switching to the not quite as slim image helped.
13.02.2026 13:01 β
π 1
π 0
π¬ 1
π 0
Wait, what? In 2023 I bought 64GB DDR5-5600 for 210β¬.
Today, if I wanted to get 64GB DRAM (identical spec) I have to part with 879β¬ π€―
<insert your favourite combination of swear words here>
08.02.2026 07:37 β
π 5
π 1
π¬ 1
π 0
Looking at my posting insights in Wordpress and I thought ... wouldn't it be fun to post "Tetris" style? Nearly did that in January π€£
05.02.2026 08:05 β
π 1
π 0
π¬ 0
π 0
Just finished recording a short video where Iβm showing a lot more realistic scenario involving a react web app to modify the Duality View. Definitely more pleasing to the eye than raw JSON in the console π½οΈ
04.02.2026 15:29 β
π 0
π 0
π¬ 0
π 0
Minions GIF
ALT: Minions GIF
A little chuffed about the fact that I finished a small React app today to interact with a JSON Relational Duality view via REST. Oracle ORDS kindly provided the endpoint for me. Thanks to react-bootstrap it does look half-decent, too
04.02.2026 11:33 β
π 0
π 0
π¬ 0
π 0
Optimistic Locking Made Easy: The Power of ETags in Action
JSON Relational Duality Views are one of the most remarkable features introduced with Oracle AI Database 26ai. They effortlessly blend the best of both worlds: relational and document, greatly simpβ¦
π¨ New blog post!
I just migrated a PL/SQL app to JavaScript (yesβstill inside the database π).
As part of the experiment I put JSON Relational Duality Views + ETags to the test for optimistic locking.
Spoiler: it works beautifully.
Dive in π
martincarstenbach.com/2026/02/03/o...
04.02.2026 07:33 β
π 1
π 0
π¬ 1
π 0
Yep, saw that, too.
29.01.2026 05:23 β
π 0
π 0
π¬ 0
π 0
Not entirely convinced of zone 2 training. It sure is fun and leisurely but I almost feel as if it made me slower. Whatβs your experience? This is about running but it might as well apply to cycling π΄ π #running #endurance #cycling
28.01.2026 21:01 β
π 3
π 0
π¬ 1
π 0
screenshot showing some of the languages supported by wordpress's code block
So far I only used the syntax highlighter block in Wordpress. I was today <n> years old when I noticed that the code block has syntax highlighting for many more languages than syntax highlighter . Plus it can do line numbers, display the language and add a copy button βΊοΈ
27.01.2026 10:10 β
π 0
π 0
π¬ 1
π 0
Did you know you can write User Defined Functions in TypeScript for Oracle AI Database 26ai?
Iβve just updated my article showing how to transpile TypeScript, apply Biome for linting, all with CI in mind β just like you would for any modern app:
π martincarstenbach.com/2023/07/04/l...
26.01.2026 21:10 β
π 3
π 0
π¬ 0
π 0
Retrieving the result of a PL/SQL computation in MLE/JavaScript
Recently, while working on a joint project with the APEX team, the need arose to rewrite a piece of PL/SQL code in MLE/JavaScript. The PL/SQL code in question roughly looks like this. declare l_resβ¦
The best way to get ideas for blog posts is to actively work with technology π». I love experimenting π§ͺπ¨βπ»
Recently I translated a PL/SQL code unit to MLE/JavaScript. If you ever need to perform a PL/SQL calculation in JavaScriptβοΈ, hereβs how to do it π
martincarstenbach.com/2026/01/21/r...
21.01.2026 13:54 β
π 3
π 1
π¬ 0
π 0
Database Net Services Administrator's Guide
Quick question for the community: do you use shared server connections with your Oracle database? (docs.oracle.com/en/database/...). Regardless of the releaseβ¦I am genuinely curious π§
19.01.2026 08:48 β
π 0
π 0
π¬ 5
π 0
JavaScript β Martins Blog
Posts about JavaScript written by Martin Bach
π Small update to my blog
I updated my page template to finally display tags π
Tags were already assigned for each article, but now theyβre visible and clickable. For example, all my JavaScript posts are now accessible in one place:
π martincarstenbach.com/tag/JavaScri...
15.01.2026 08:09 β
π 0
π 0
π¬ 0
π 0
Multiple βforβ clauses in dbms_statsβs method_opt
Recently, I encountered some frustration in recalling the correct syntax for the method_opt parameter in DBMS_STATS. This clause is primarily used when creating or deleting histograms. A histogram β¦
The method_opt parameter of dbms_stats controls histogram generation
@martindba.bsky.social shows how to use it to
Delete all histograms except for 1
Create this histogram using the AUTO clause
With
for all columns size 1, for columns data_skew size AUTO
08.01.2026 12:02 β
π 3
π 1
π¬ 0
π 0
Say hello to the all new server-side JavaScript LiveLab
In-Database JavaScript, powered by Multilingual Engine (MLE) debuted as a major feature in Oracle AI Database 26ai. Starting with the Developer Preview (Release 23.2) a few years ago, you could wriβ¦
π Iβm excited to share that the all-new JavaScript LiveLab for Oracle AI Database 26ai is live!
If youβre curious about writing JavaScript on the server the updated LiveLab makes getting hands-on much easier
No setup required, just a browser; feedback welcome:
martincarstenbach.com/2026/01/06/s...
06.01.2026 15:00 β
π 2
π 0
π¬ 0
π 0
A screenshot showing my year in blogging, listing blog posts per month and the most popular blog post this year
Reflecting on my blogging journey in 2025 πβοΈ
Summary: I managed to blog a fair bit this yearβΊοΈand it was fun!
Looking forward to more writing, more learning, and sharing practical insights. Thanks to everyone whoβs taken the time to read my stuff
π martincarstenbach.com
29.12.2025 07:56 β
π 1
π 0
π¬ 0
π 0
π‘ #apexconn26 | 18.β20. Mai | Heide Park Soltau
#LowCode, #orclapex & #PLSQL in einer Location, die genauso dynamisch ist wie die Technologie selbst.
π€ Keynote von @cczarski.bsky.social: "Low-Code mit APEX 2026 β Der Stand der Dinge" β mit APEXlang, KI, neuen Features u.v.a.m. π
apex.doag.org
18.12.2025 10:15 β
π 4
π 4
π¬ 0
π 0
Creating column-level annotations on views
While updating my slides covering βwhatβs new in Oracle AI Database 26aiβ I noticed that examples how to annotate views are currently absent from the SQL Language Reference. Whileβ¦
Schema annotations in Oracle AI Database enable you to add key-value metadata on
Tables
Views
Indexes
Domains
These help document your objects
@martindba.bsky.social shows how to add them to view columns with
ALTER VIEW ... MODIFY ( <col> ANNOTATIONS ( ... ) )
11.12.2025 12:01 β
π 0
π 1
π¬ 0
π 0
Does the MLE SQL Driver respect Virtual Private Database policies?
An interesting question came in today and itβs a great opportunity to elaborate a little on the nature of the Oracle JavaScript SQL Driver. As you may have heard, Oracle AI Database 26ai intrβ¦
π New blog post is out π₯οΈ
I was recently asked if the JavaScript SQL driver used in Oracle AI Database respects Virtual Private Database (VPD) policies.
I was pretty sure it did, a quick test removed all uncertainty.
Spoiler: it does. Care for the details?
π martincarstenbach.com/2025/12/12/d...
12.12.2025 13:23 β
π 0
π 0
π¬ 0
π 0
Flags are flying in the wind in front of the venue indicating IT Tage 25 are in full swing
A foto of the IT Tage booth
Ready for my first of two talks during #ittage25: today Iβm going to introduce Java developers to database tuning. Actually any developer. And itβs a pretty light into πHope to see you at 14:00!
10.12.2025 10:09 β
π 0
π 0
π¬ 0
π 0