arangodb / arangodb/spring-data
Feature: create collections on startup
Open
@rashtao is already working on this.
Since Aug 14, 2019.
enhancement
- Dominant language
- Java
- Stars
- 116
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
Currently the collections will be created when repository.save() is called if not already existed. Exceptions will be thrown if queries(e.g. repository.findAll()) were called before save because the tables do not exist.
I was expecting the tables are created on spring startup so that findAll() will return empty collections, like what hibernate does.
If I missed something in configuration, please tell.
- ArangoDB version: 3.3.14
- arangodb-spring-data version: 3.1.1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.