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
- Host: GitHub
- URL: https://github.com/seregamorph/morejdbc
- Owner: seregamorph
- License: apache-2.0
- Created: 2018-05-05T10:58:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-05-29T12:14:17.000Z (about 1 year ago)
- Last Synced: 2025-05-29T13:42:37.188Z (about 1 year ago)
- Topics: callable, java, spring, spring-jdbc
- Language: Java
- Homepage:
- Size: 201 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: readme-mysql-tests.md
- License: LICENSE
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
```