Spring Tips: Multitenant JDBC

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • Hi, Spring fans! In this installment, we'll look at some of the possibilities for building multitenant applications with Spring's delightful - but relatively unknown! - `AbstractRoutingDataSource` class.

Комментарии • 21

  • @tonylangworthy5479
    @tonylangworthy5479 10 месяцев назад

    Very NICE explanation of something that I have been researching for the past few days! Thanks!

  • @winfr34k
    @winfr34k 2 года назад +1

    Thanks for taking care of the audio. Great video as always.

  • @zoladkow
    @zoladkow 2 года назад +3

    Yeah, that dung with collecting map entries is hard 😅 pressure of doing it live doesn't help either ♥️

  • @smithdragon6477
    @smithdragon6477 2 года назад

    super nice one Josh !

  • @Johnny010
    @Johnny010 2 года назад +5

    Evening. Great video as always!
    Does Flyway pick up that it is a multi-tented datasource and apply any migrations (if using Spring to do it vs say the FlyWay CLI) that are required?
    I guess you could just use the Flyway API directly and wire in the collection of datasources and run each through Flyway otherwise but would be cool if there was some kinda
    spring.flyway.multi-tenented.runMigrations or the like.

  • @fahadziasyed4568
    @fahadziasyed4568 2 года назад

    About time! Thank you!

  • @subhashismohanty5420
    @subhashismohanty5420 2 года назад

    Awesome explanation

  • @nguyenduy-sb4ue
    @nguyenduy-sb4ue 2 года назад +1

    Big fan of your book sir !

    • @MrBgdu26
      @MrBgdu26 2 года назад +1

      hey, what book are you referring to ? :)

  • @PhilipStarritt
    @PhilipStarritt 2 года назад

    Great tutorial thanks

  • @zickzack987
    @zickzack987 2 года назад +1

    Nice. Now try this with user loaded from db, flyway and envers 😏

    • @codegeek8256
      @codegeek8256 2 года назад

      Is hard doing that? or it doesnt work?

  • @luciano_brum
    @luciano_brum Год назад

    What if I need to get those information about datasources/tenants from some database ?

  • @akbaraliziloubaf1386
    @akbaraliziloubaf1386 2 года назад

    Very nice and i like it. I have Question cause not have macOs. Is it the IntelliJ Development you are using in macOS or is something else? Thanks in advance

    • @coffeesoftware
      @coffeesoftware 2 года назад

      Hi - I’m using macOS and IntelliJ idea but I have also very happily used IntelliJ on various Linux flavors and indeed any idea will work: eclipse, NetBeans, visual studio code, and emacs, etc

  • @petroniobonavides3530
    @petroniobonavides3530 2 года назад

    Can we use, the same idea, for spring webflux??

  • @gekal6290
    @gekal6290 2 года назад +1

    I have a problem if I call the test api multi times. Anyone know why?

    • @samjingwen
      @samjingwen 2 года назад +1

      Password is cleared after authentication, you may check the documentation on the User class which the MultiTenantUser inherits from

  • @alexop5919
    @alexop5919 2 года назад

    Can you do full (backend & frontend) reactive Hilla please?

  • @sovannahang8080
    @sovannahang8080 7 месяцев назад

    How to get source code?

  • @el_yisusT
    @el_yisusT Год назад

    Do you have a git repo? Thanks