GithubHelp home page GithubHelp logo

thaingo / spring-r2dbc-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hantsy/spring-r2dbc-sample

0.0 1.0 0.0 434 KB

Code samples for demonstrating R2dbc, Spring R2dbc, and Spring Data R2dbc.

License: GNU General Public License v3.0

Java 100.00%

spring-r2dbc-sample's Introduction

Spring R2dbc Example

This repository contains the latest changes in the Spring R2dbc(part of Spring Framework 5.3), Spring Data R2dbc 1.2 and Spring Boot 2.4.

I have created several R2dbc examples in the spring-reactive-sample repository since it was born. But Spring Data R2dbc evolved very quickly, thre are plenty of breaking changes introduced since Spring 5.2 and Spring Data R2dbc 1.2.

Compare to the Spring Data R2dbc 1.1, some breaking changes are notable.

  • The old DatabaseClient in Spring Data R2dbc 1.1 was split into two parts, a simple new DatabaseClient is part of Spring framework, as an alternative of Jdbc.
  • Another part of the old DatabaseClient is reorganized into a new class R2dbcEntityTemplate which acts as the role of JdbcTemplate.

build

Notes

Sample Codes

Example Description
connection-factories R2dbc driver's ConnectionFactory example for MySQL, H2, PostgreSQL, MSSQL, Oracle, etc
database-client DatabaseClient example
data-r2dbc-entitytemplates Spring Data R2dbc specific R2dbcEntityTemplate example
data-r2dbc-repositories Spring Data R2dbc generic R2dbcRepository interface example
entitycallbacks Spring Data R2dbc BeforeConvertEntityCallback, AfterConvertEntityCallback, etc.
testcontainers Spring Data R2dbc @DataR2dbcTest with TestContainers.
boot Spring Boot example
auditing Spring Data R2dbc Auditing example

Reference

spring-r2dbc-sample's People

Contributors

hantsy avatar renovate-bot avatar renovate[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.