Skip to content

bastman/spring-kotlin-jdbi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring-kotlin-jdbi

playground for spring-boot, kotlin , jdbi

status

  • under development

build and run playground (docker)

    $ make -C rest-api app.compose.up

build

    $ make -C rest-api app.build

run local db (docker)

    $ make -C rest-api db.local.up

run from Intellij

VM options: -Dspring.profiles.active=local
Environment variables: APP_DB_URL=localhost:5432/app
    # make sure, you have our db running on that port, e.g.:
    $ make -C rest-api db.local.up

This example project is based on ...

Whats wrong with orm, jpa, hibernate and in-memory h2-db these days ?

There is no silver bullet. It's born in a world of single-instance big fat application servers. It hardly fits into a modern world of:

  • functional programming: e.g. immutable threadsafe pojos / data classes
  • CQRS and eventsourcing
  • horizontal scaling of polyglot microservices

Make up your mind ...