Similarity search sample that stores embeddings in Oracle AI Database and queries them with vector search.
Explore Oracle AI Database with real code samples you can run for free
Use this catalog to find runnable Oracle AI Database examples for vector search, JSON, graph, spatial, ORDS, TxEventQ, Spring Boot, Java, Go, Python, and TypeScript.
53 samples
Static HTML is prerendered for search engines; the interactive Vue catalog loads on top of it.
Plain JDBC hybrid search sample that combines Oracle Text, vectors, JSON, and relational filters.
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.
Spring Boot JPA sample for generating and using JSON Relational Duality Views.
LangChain4j sample that stores agent memory, transcripts, and hybrid retrieval data in Oracle AI Database.
LangChain4j MCP sample for natural-language SQL queries against Oracle AI Database.
Spring Boot application that ingests news events, stores them in Oracle AI Database, and supports vector search.
Docker Compose setup for running Oracle AI Database Free locally.
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.
Docker Compose setup for running the ai-optimizer service with Oracle AI Database Free locally.
Database-per-service sample that separates students and courses services into independent pluggable databases.
Shared Go connection helper for local Oracle AI Database access with godror.
Go sample for creating and querying JSON Relational Duality Views in Oracle AI Database.
Go helper and test for starting Oracle AI Database Free with testcontainers-go.
Plain JDBC sample for producing and consuming TxEventQ messages with PL/SQL helpers.
Plain JDBC sample that runs SQL GraphQL queries against Oracle AI Database tables.
Plain JDBC sample for JSON full-text search with Oracle Text on Oracle AI Database.
JMS producer and consumer example for Oracle AI Database Transactional Event Queues.
JDBC CRUD sample for JSON Relational Duality Views with OSON and Testcontainers.
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.
OKafka sample that streams OSON payloads through Oracle AI Database TxEventQ topics.
Step-by-step migration sample from Apache Kafka to Oracle AI Database Transactional Event Queues.
Starting Apache Kafka application used as the baseline for the migration walkthrough.
Migration step that swaps Apache Kafka for Oracle AI Database TxEventQ with minimal code changes.
Migration step that adds OSON serialization to the Kafka-to-TxEventQ sample.
Migration step that adds transactional database writes to the Kafka-to-TxEventQ consumer.
Java integration tests that use the Kafka APIs for Oracle AI Database Transactional Event Queues.
Docker Compose setup for running ORDS with Oracle AI Database Free locally.
Testcontainers sample for running ORDS alongside Oracle AI Database Free in integration tests.
Native Python vector search sample for Oracle AI Database using python-oracledb.
LangChain-based Python vector search sample for Oracle AI Database.
Python Testcontainers sample for starting Oracle AI Database Free programmatically.
Oracle JDBC sample for sessionless transactions on Oracle AI Database.
Spring Boot JMS sample that implements CDC with Oracle AI Database Transactional Event Queues.
Spring Boot sample that sets MODULE and ACTION client info on Oracle AI Database connections.
Spring Boot sample that loads application properties dynamically from Oracle AI Database.
Spring Boot sample for custom Oracle JDBC tracing with OpenTelemetry.
Spring Boot sample for Oracle JDBC tracing with OpenTelemetry.
Spring Boot JMS pub-sub example for Oracle AI Database Transactional Event Queues.
Spring Boot sample for tracing JMS messaging over Oracle AI Database Transactional Event Queues.
Spring Cloud Config sample that stores configuration properties in Oracle AI Database.
Spring Data MongoDB sample that uses the Oracle AI Database API for MongoDB through ORDS.
Spring JPA examples for Oracle AI Database entities, repositories, and relationships.
Spring ResourceLoader sample that reads BLOB-backed resources from Oracle AI Database.
Spring Boot sample that loads OCI Vault secrets into the application context.
SQL scripts for Oracle AI Database features such as JSON, vectors, and Select AI.
Multi-database TxEventQ replication sample using JMS and database links.
TypeScript samples using node-oracledb, Testcontainers, and Transactional Event Queues.
TypeScript helpers for starting Oracle AI Database Free with Testcontainers.
TypeScript sample for producing and consuming TxEventQ messages with node-oracledb.