Micronaut® Data

Micronaut® Data is a productivity-boosting Open Source technology that dramatically improves the runtime and memory performance of data access repository logic for the microservice and serverless era.

A Data-Access Toolkit Optimized for Cloud Computing

In a world of cloud computing, where billing models charge for the amount of time your application is running or the execution time of an individual function, data-access toolkit performance is critical. Because Micronaut Data does no query translation at runtime, the performance gain is significant. 

Reduced Cold Starts

Lean Memory Consumption

Improved Performance

Cost Savings

A Simple solution

Interacting with a database with direct JDBC or JPA is as easy as declaring an interface.

Micronaut Data handles the rest!

  1. package example.repositories;
  3. import java.util.List;
  4. import java.util.Optional;
  6. import example.domain.Owner;
  7. import io.micronaut.data.jdbc.annotation.JdbcRepository;
  8. import io.micronaut.data.model.query.builder.sql.Dialect;
  9. import io.micronaut.data.repository.CrudRepository;
  11. @JdbcRepository(dialect = Dialect.H2)
  12. public interface OwnerRepository extends CrudRepository<Owner, Long> {
  14. @Override
  15. List<Owner> findAll();
  17. Optional<Owner> findByName(String name);
  18. }
  19. v