Use when JVM applications need real Oracle AI Database examples instead of pseudocode.
Java Samples for Oracle AI Database
Java samples for JDBC, Spring Boot, messaging, search, JSON, graph, spatial, and test workflows on Oracle AI Database. Browse 44 runnable samples with linked source code.
JDBC CRUD sample for JSON Relational Duality Views with OSON and Testcontainers.
Database-per-service sample that separates students and courses services into independent pluggable databases.
JMS producer and consumer example for Oracle AI Database Transactional Event Queues.
Plain JDBC sample for producing and consuming TxEventQ messages with PL/SQL helpers.
Plain JDBC hybrid search sample that combines Oracle Text, vectors, JSON, and relational filters.
Plain JDBC sample that analyzes nested JSON documents with advanced SQL/JSON operators.
Plain JDBC sample for inserting, querying, updating, and deleting Oracle JSON data.
Plain JDBC sample that indexes scalar values inside JSON arrays with multivalue JSON indexes.
Plain JDBC sample for JSON full-text search with Oracle Text on Oracle AI Database.
Plain JDBC sample for building and querying a SQL property graph in Oracle AI Database.
Plain JDBC sample for creating, indexing, and querying spatial geometries in Oracle AI Database.
Plain JDBC sample that stores Java UUID primary keys as RAW(16) values in Oracle AI Database.
OKafka sample that streams OSON payloads through Oracle AI Database TxEventQ topics.
Migration step that swaps Apache Kafka for Oracle AI Database TxEventQ with minimal code changes.
Migration step that adds transactional database writes to the Kafka-to-TxEventQ consumer.
LangChain4j sample that stores agent memory, transcripts, and hybrid retrieval data in Oracle AI Database.
Spring JPA examples for Oracle AI Database entities, repositories, and relationships.
MongoDB Java driver sample for JSON Relational Duality Views exposed through ORDS.
Spring Boot application that ingests news events, stores them in Oracle AI Database, and supports vector search.
Java integration tests that use the Kafka APIs for Oracle AI Database Transactional Event Queues.
LangChain4j MCP sample for natural-language SQL queries against Oracle AI Database.
Java Testcontainers samples for running Oracle AI Database Free in integration tests.
Java examples for Oracle AI Database Transactional Event Queues using Kafka APIs and PL/SQL.
Testcontainers sample for running ORDS alongside Oracle AI Database Free in integration tests.
Similarity search sample that stores embeddings in Oracle AI Database and queries them with vector search.
Reusable Codex skills for building, validating, and documenting Oracle AI Database samples.
Spring Boot JMS sample that implements CDC with Oracle AI Database Transactional Event Queues.
Spring Boot sample for tracing JMS messaging over Oracle AI Database Transactional Event Queues.
Spring Boot JPA sample for generating and using JSON Relational Duality Views.
Spring Boot sample that sets MODULE and ACTION client info on Oracle AI Database connections.
Spring Boot sample for custom Oracle JDBC tracing with OpenTelemetry.
Spring Boot sample for Oracle JDBC tracing with OpenTelemetry.
Spring Cloud Config sample that stores configuration properties in Oracle AI Database.
Spring Boot sample that loads application properties dynamically from Oracle AI Database.
Spring Boot JMS pub-sub example for Oracle AI Database Transactional Event Queues.
Spring ResourceLoader sample that reads BLOB-backed resources from Oracle AI Database.
Spring Boot sample that loads OCI Vault secrets into the application context.
Spring Boot support workflow sample combining Oracle AI Database TxEventQ, JSON, Oracle Text, vector search, SQL property graph, and JSON Relational Duality Views.
Multi-database TxEventQ replication sample using JMS and database links.
Spring Data MongoDB sample that uses the Oracle AI Database API for MongoDB through ORDS.