Reputation: 437
I am using spring-data-dynamodb Spring Data extension to integrate AWS DynamDB with Spring Boot 2.0. I was able to make it work.
My question is, is there a way that the table is automatically created on application startup if it doesn't already exists, similar to what Hiberate offers via hibernate.hbm2ddl.auto
?. Right now, I have to create the table manually or in the application using the AWS DynamoDB sdk. Many Thanks.
Upvotes: 10
Views: 7934
Reputation: 762
Right now there is no such feature but there is an open feature request: https://github.com/derjust/spring-data-dynamodb/issues/17 (which I'm actually working on these days)
Note: I'm the maintainer of this GitHub project.
Upvotes: 5