-
Notifications
You must be signed in to change notification settings - Fork 132
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
Create automatically tables at startup #748
Comments
I did a little project This test
Throw this error
Notice when I run the server to an existing database ExchangesRepository works very well |
It seems that is related to NamingStrategy |
|
|
@mmaryo did you find any solution to this? |
Below worked for me in a configuration class and below bean Then have you schema.sql in the resources folder Finally add below in your application.properties or yml file |
Hello
It looks like tables are not created
Postgres stay empty
Even with
spring.jpa.hibernate.ddl-auto=create
This is my entity
And the repository
I use Spring Boot 3.0.0.M1, WebFlux, Jdk 17, Kotin, R2DBC
Do you have an idea? How to debug and find a solution?
EDIT
Also I try to connect to H2 db
spring.r2dbc.url=r2dbc:h2:mem:///testdb
Connection is done
But test end with
That means the table is not created at test startup
The text was updated successfully, but these errors were encountered: