Skip to content
Discussion options

You must be logged in to vote

For a few thousand records with Quarkus, you have several solid embedded options:

1. H2 (Recommended for simplicity)

# application.properties
quarkus.datasource.db-kind=h2
quarkus.datasource.jdbc.url=jdbc:h2:file:./data/mydb
quarkus.hibernate-orm.database.generation=update

Dependency: quarkus-jdbc-h2 + quarkus-hibernate-orm-panache

Pros: Zero config, file-based persistence, full SQL support, great Quarkus integration.
Cons: Not ideal for concurrent write-heavy workloads.

2. SQLite (Lightest footprint)

<dependency>
    <groupId>io.quarkiverse.jdbc</groupId>
    <artifactId>quarkus-jdbc-sqlite</artifactId>
</dependency>
quarkus.datasource.db-kind=other
quarkus.datasource.jdbc.url=jdbc:sqlit…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Stwissel
Comment options

Answer selected by Stwissel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants