Databases
JDBC · prepared transaction
Use a genuine Java JDBC worker with an operator-installed driver and registered prepared statements. This gallery run uses a transaction fixture. The repository test separately exercises real JDBC commit, rollback and decimal values.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
Studio activation is a one-time payment of USD 20.
Flow
Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.
Scroll sideways to see the whole flow.
List the 3 activities and 2 transitions
Activities
- Registered parameters
start - Insert + query in one transaction
jdbc.transaction - Return database rows
end
Transitions
- Registered parameters → Insert + query in one transaction (on success)
- Insert + query in one transaction → Return database rows (on success)
Walkthrough
- Registered parametersInstall your approved JDBC driver and configure its class and URL environment reference. The browser does not download drivers.
- Insert + query in one transactionChoose registered statement IDs and map named parameters; SQL text belongs to the operator profile.
What you will practise
- Install your approved JDBC driver and configure its class and URL environment reference. The browser does not download drivers.
- Choose registered statement IDs and map named parameters; SQL text belongs to the operator profile.
- A local JDBC transaction commits the group or rolls back on error. It is not an XA transaction with a broker.
Sample cases
1 case with 3 assertions, run with python -m server.integration examples --all in simulation.
Insert Then Query
PassedThe real process engine runs with supplied sample input. Code and external operations use explicit fixtures in gallery simulation.
Expected result Verify the mapped output, successful completion and zero pending simulated receipts.
3/3 assertions
- Scenario completes
- Expected business result
- No pending simulated messages
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- Manual start; no listener.
- Optional dependencies
- Java 17+, the included JDBC bridge and your vendor JDBC driver (not bundled) needed only for live connections; simulation uses fixtures
- Simulation fixtures
jdbc_demojdbc · jdbc.transaction
Verification details
Provenance
What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.
Verified content
- Pack SHA-256
5b796a75cbf7caf66175a6b52af45357f18f725bb755bbc007db3ab07fc87de1- Closure SHA-256
5ad7a62d5dc08815f02eb94287311a823d7a8aab1e54c4fbfc8ff87ad21d0317- Runtime
1.27.0- Results
- 1/1 cases, 3/3 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/jdbc_transaction_lab.jsonserver/integration/templates/jdbc_transaction_lab.json
Verification event
- Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34- Verified at (UTC)
2026-10-31T21:19:21Z
How the Cohuno team reproduces this check
PYTHONPATH=. python -m server.integration examples --example jdbc_transaction_lab PYTHONPATH=. python scripts/export_public_gallery.py --check