About the Oracle NoSQL Database SDK for Spring Data

Connect to the Oracle NoSQL Database with applications using the Spring Data Framework (Spring-based programming model for data) and the Oracle NoSQL Database SDK for Spring Data. The Spring Data Framework provides a familiar and consistent, Spring-based programming model for data access. For more information on Spring Data Framework, see Spring Data.

The Oracle NoSQL Database SDK for Spring Data provides POJO (Plain Old Java Object) centric modeling and integration between the Oracle NoSQL Database and the Spring Data Framework. One of the key benefits available to the Java programmer is the ability to write your code as a repository style data access layer, while the Spring Data Framework maps those repository style data access operations to Oracle NoSQL Database API calls.

The Oracle NoSQL Database SDK for Spring Data is available in Maven Central repository, details available here. The main location of the project is in GitHub.

You can get all the required files for running the Spring Data Framework with the following POM file dependencies.

<dependencies>
    <dependency>
        <groupId>com.oracle.nosql.sdk</groupId>
        <artifactId>spring-data-oracle-nosql</artifactId>
    </dependency>
</dependencies>

Note:

The Oracle NoSQL Database SDK for Spring Data requires an Oracle NoSQL Database Proxy to connect to an Oracle NoSQL Database cluster. For more information on setting up an Oracle NoSQL Database Proxy, see Oracle NoSQL Database Proxy in the Administrator's Guide.

Supported Features

The following features are currently supported by the Oracle NoSQL Database SDK for Spring Data.

  • Generic CRUD operations on a repository using methods in the CrudRepository interface. For more information on CrudRepository interface, see CrudRepository.
  • Pagination and sorting operations using methods in the PagingAndSortingRepository interface. For more information on PagingAndSortingRepository interface, see PagingAndSortingRepository.
  • Derived Queries.
  • Native Queries.