An open API service indexing awesome lists of open source software.

https://github.com/seregamorph/morejdbc

JDBC helpers for stored procedure/function calls
https://github.com/seregamorph/morejdbc

callable java spring spring-jdbc

Last synced: 5 months ago
JSON representation

JDBC helpers for stored procedure/function calls

Awesome Lists containing this project

README

          

https://download.liquibase.org/download/
Set environment variable LIQUIBASE_HOME
Copy driver to $LIQUIBASE_HOME/lib

#### Run docker with MySQL 8.0
```shell
cd sql/mysql
docker run --rm -it -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -v $PWD/init:/docker-entrypoint-initdb.d --name morejdbc-mysql mysql:8.0.40
```

#### Create MySQL schema as test user
```shell
# first copy mysql-connector-j.jar to $LIQUIBASE_HOME/internal/lib
$LIQUIBASE_HOME/liquibase --url=jdbc:mysql://127.0.0.1:3306/test --username=test --password=test --changeLogFile=changelog.xml --logLevel=info update
```

#### Run tests
```
MysqlJdbcCallTest
```

#### Stop docker with MySQL (auto deletes container)
```shell
docker stop morejdbc-mysql
```