2022-05-23 02:09:09 -04:00
|
|
|
### Relevant Articles:
|
2022-05-23 08:35:17 -04:00
|
|
|
- [Using Transactions for Read-Only Operations](https://www.baeldung.com/spring-transactions-read-only)
|
2022-05-23 02:09:09 -04:00
|
|
|
|
|
|
|
### 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.
|
2022-05-23 08:35:17 -04:00
|
|
|
- You can check the mysql logs using `tail -f mysql/${name of de log file created}.log`
|