Skip to content

Disable automatic SQL table initialization #406

@ChristianKernDev

Description

@ChristianKernDev

By default JBeret will create the needed SQL tables, if "quarkus.jberet.repository.type=jdbc" is set.

In some cases this is not intended, for example if the tables get automatically created with a tool like flyway. My project setup includes flyway where i created a migration file which creates the JBeret tables, as i need some extra stuff in them.

On Startup the first thing that is executed is JBeret creating the tables and only after that Flyway is called, which fails, because the tables already exist.

Possible solutions are:

  • Option to disable the creation in JBeret
  • Delay table creation to a later point so it happens after flyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions