This sample demonstrates a Spring Boot JDBC application that connects to IBM Db2 for z/OS using two simultaneous DataSources — one using JDBC type 2 (native z/OS) connectivity, and one using JDBC type 4 (TCP/IP) connectivity. The application is deployed to a CICS Liberty JVM server and uses the Db2 employee sample table (EMP).
Select the branch for your target environment:
| Spring Boot | Branch | Min Java | Jakarta EE | Build Status | |
|---|---|---|---|---|---|
| 4.x | springboot/v4 | 21 | EE 11 | ||
| 3.x | springboot/v3 | 17 | EE 10 |
All branches target CICS TS V6.1 or later.
This project is licensed under Eclipse Public License - v 2.0.
This sample is maintained by IBM CICS development. We welcome bug reports and feature requests via GitHub Issues. Contributions are welcome and reviewed on a case-by-case basis — please read the contributing guidelines before opening a pull request. For CICS product questions, contact IBM Support.