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

Spring framework samples for data access, messaging, configuration, and application wiring.

Use when Java applications need Spring-managed components backed by Oracle AI Database.

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