-
Notifications
You must be signed in to change notification settings - Fork 26
Add TestContainers sample for Doma Spring Boot #310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2a0f96f
Add TestContainers sample for Doma Spring Boot (Fixes #290)
devin-ai-integration[bot] 448f356
Revise TestContainers sample to use Spring Boot's native TestContaine…
devin-ai-integration[bot] 5198bb1
Fix code formatting issues
devin-ai-integration[bot] 1e42f72
Update TestContainers sample to use Spring Initializr generated approach
devin-ai-integration[bot] 06610a1
Remove old TestContainersConfig.java file
devin-ai-integration[bot] 45661c4
Update TestContainers sample based on feedback: use RestClient, remov…
devin-ai-integration[bot] 87b5535
Update TestContainers sample based on feedback: remove explicit diale…
devin-ai-integration[bot] 237ea2d
Change page and size parameters to integers in ApplicationTest
devin-ai-integration[bot] 487094d
Update transaction manager logging to use JdbcTransactionManager
devin-ai-integration[bot] 2a5fa14
Use diamond operator for ParameterizedTypeReference
devin-ai-integration[bot] ccf7bfc
Add Maven wrapper info to README and remove redundant application-tes…
devin-ai-integration[bot] ccbf51f
Add Maven wrapper files to TestContainers sample
devin-ai-integration[bot] cf62c8e
Address PR comments: add SQL logging, remove useless comment, remove …
devin-ai-integration[bot] 5f6bdc4
Remove JUnit comment from pom.xml
devin-ai-integration[bot] 5f5aa9a
Remove TestContainers comment from pom.xml
devin-ai-integration[bot] 37dc226
Remove PostgreSQL Driver comment and fix README.md to remove H2 refer…
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,11 +48,7 @@ | |
| <artifactId>spring-boot-starter-test</artifactId> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.jupiter</groupId> | ||
| <artifactId>junit-jupiter</artifactId> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <!-- JUnit is managed by Spring Boot --> | ||
| <!-- Spring Boot manages TestContainers dependencies --> | ||
|
||
| <dependency> | ||
| <groupId>org.springframework.boot</groupId> | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...-samples/doma-spring-boot-sample-testcontainers/src/main/resources/application.properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| # Development configuration using TestContainers | ||
| spring.sql.init.mode=always | ||
|
|
||
| # Doma configuration | ||
| doma.naming=SNAKE_LOWER_CASE | ||
| logging.level.org.springframework.jdbc.support.JdbcTransactionManager=DEBUG | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add |
||
| logging.level.org.seasar.doma.jdbc=DEBUG | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this comment