This repository contains a simple (Apache Maven-based) Java application. The application contains Spring Framework dependencies, including Spring Boot and Spring Data R2DBC.
The purpose of this application is to demonstrate capabilities of MariaDB Connector/R2DBC and Spring Data R2DBC.
This application was used as the live demonstration in a MariaDB Webinar.
In order to use this application you will need to first run the following SQL commands on a running instance of MariaDB.
CREATE DATABASE todo;
CREATE TABLE todo.tasks (
id INT(11) unsigned NOT NULL AUTO_INCREMENT,
description VARCHAR(500) NOT NULL,
completed BOOLEAN NOT NULL DEFAULT 0,
PRIMARY KEY (id)
);
Next, make sure you you update the database connection settings in the application.properties file.
spring.r2dbc.url=r2dbc:mariadb://127.0.0.1:3306/todo
spring.r2dbc.username=app_user
spring.r2dbc.password=Password123!
Please feel free to submit PR's, issues or requests to this project project directly.
If you have any other questions, comments, or looking for more information on MariaDB please check out:
Or reach out to us diretly via: