/liflig-document-store

Library for storing JSONB documents in Postgres by using the repository pattern.

Primary LanguageKotlinApache License 2.0Apache-2.0

liflig-document-store

Kotlin library implementing the repository pattern for storing documents as JSONB in Postgres.

  • CRUD-like Data Access Object (DAO) with extendable methods for flexibility.
  • Optimistic locking.
  • JDBI library for convenience.
  • Serialization and deserialization of objects using Kotlinx Serialization.
  • Connection pool with HikariCP.
  • Database migrations with Flyway.

This library is currently only distributed in Liflig internal repositories.

Contributing

This project follows https://confluence.capraconsulting.no/x/fckBC

To check build before pushing:

mvn verify

The CI server will automatically release new version for builds on master.