Spring Tips: Multitenant JDBC

Sdílet
Vložit
  • čas přidán 22. 03. 2022
  • 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.
  • Věda a technologie

Komentáře • 21

  • @tonylangworthy5479
    @tonylangworthy5479 Před 8 měsíci

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

  • @winfr34k
    @winfr34k Před 2 lety +1

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

  • @smithdragon6477
    @smithdragon6477 Před 2 lety

    super nice one Josh !

  • @subhashismohanty5420
    @subhashismohanty5420 Před 2 lety

    Awesome explanation

  • @fahadziasyed4568
    @fahadziasyed4568 Před 2 lety

    About time! Thank you!

  • @PhilipStarritt
    @PhilipStarritt Před 2 lety

    Great tutorial thanks

  • @zoladkow
    @zoladkow Před 2 lety +3

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

  • @Johnny010
    @Johnny010 Před 2 lety +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.

  • @alexop5919
    @alexop5919 Před 2 lety

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

  • @petroniobonavides3530
    @petroniobonavides3530 Před 2 lety

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

  • @akbaraliziloubaf1386
    @akbaraliziloubaf1386 Před 2 lety

    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 Před 2 lety

      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

  • @nguyenduy-sb4ue
    @nguyenduy-sb4ue Před 2 lety +1

    Big fan of your book sir !

    • @MrBgdu26
      @MrBgdu26 Před 2 lety +1

      hey, what book are you referring to ? :)

  • @luciano_brum
    @luciano_brum Před rokem

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

  • @el_yisusT
    @el_yisusT Před rokem

    Do you have a git repo? Thanks

  • @gekal6290
    @gekal6290 Před 2 lety +1

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

    • @samjingwen
      @samjingwen Před rokem +1

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

  • @zickzack987
    @zickzack987 Před 2 lety +1

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

    • @codegeek8256
      @codegeek8256 Před 2 lety

      Is hard doing that? or it doesnt work?

  • @sovannahang8080
    @sovannahang8080 Před 5 měsíci

    How to get source code?