java-tutorials/persistence-modules/read-only-transactions/README.md

9 lines
495 B
Markdown
Raw Normal View History

### Relevant Articles:
- [Using Transactions for Read-Only Operations](https://www.baeldung.com/spring-transactions-read-only)
### Instructions
To run the `com.baeldung.read_only_transactions.TransactionSetupIntegrationTest` first follow the steps described next:
- run the command `docker-compose -f docker-compose-mysql.yml up`
- Open a SQL client of your preference and execute the `create.sql` script.
- You can check the mysql logs using `tail -f mysql/${name of de log file created}.log`