Skip to content

Generated database is not closed properly #2

@DavidLeoni

Description

@DavidLeoni

DB generation executes SHUTDOWN COMPACT, but it seems that it doesn't close appropriately the DB: if later you try to open it in read-only mode with URLs like jdbc:h2:~/Da/prj/diversicon-core/dumps/div-wn31;ACCESS_MODE_DATA=r it gives error

org.h2.jdbc.JdbcSQLException: The database is read only [90097-160]

Opening it in rw mode works fine (because writing mode allows the db to recover from the issue)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions