Skip to content

Delete Hibernate ORM's unzipped SQL files on shutdown #49006

@yrodiere

Description

@yrodiere

Description

See extensions/hibernate-orm/runtime/src/main/java/io/quarkus/hibernate/orm/runtime/SchemaToolingUtil.java after #47338 is merged: a temporary directory is created but never deleted.

Implementation ideas

We need some changes to the code to remember which directories we created.

Then we need to delete the directory ASAP. I think "after startup" would be fine. Maybe we should also ensure it's deleted on startup failure, though...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions