JavaStandalone

Spring Boot Oracle AI Database JDBC Custom Tracer

Spring Boot sample for custom Oracle JDBC tracing with OpenTelemetry.

SpringObservability#Java#Observability#SpringBoot
What this sample helps you learn

This example application demonstrates how to implement a custom tracing implementation for the Oracle JDBC driver, using a Spring Boot app context and OpenTelemetry, as an alternative to the [OJDBC Trace Event Listener](https://github.com/oracle/ojdbc-extensions/blob/main/ojdbc-provider-opentelemetry/src/main/java/oracle/jdbc/provider/opentelemetry/OpenTelemetryTraceEventListener.java)

What this sample demonstrates

Spring

Runnable Spring behavior on Oracle AI Database.

Use when Spring needs to be tested against real database behavior.

Observability

Tracing and client metadata samples for following application work into database sessions.

Use when teams need to correlate HTTP, JDBC, JMS, and database activity during operations.

Highlights