How to initialize bean after exposed?
Open
enhancement
- Dominant language
- Kotlin
- Stars
- 9.3k
- Forks
- 798
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 26
Description
Hi,
I'm developing a Spring Boot application, and I'm using h2 database for unit tests. One of my bean retrieves data from database just after created.
During unit tests, this bean is initialized before creating exposed tables. So, when it tries to go database, database throws no table found error.
Is there any way to initialize that bean after exposed creates table?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.