arangodb / arangodb/spring-data

Feature: create collections on startup

Open
#125 9 comments 3 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.