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.
Very NICE explanation of something that I have been researching for the past few days! Thanks!
Thanks for taking care of the audio. Great video as always.
Yeah, that dung with collecting map entries is hard 😅 pressure of doing it live doesn't help either ♥️
super nice one Josh !
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.
About time! Thank you!
Awesome explanation
Big fan of your book sir !
hey, what book are you referring to ? :)
Great tutorial thanks
Nice. Now try this with user loaded from db, flyway and envers 😏
Is hard doing that? or it doesnt work?
What if I need to get those information about datasources/tenants from some database ?
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
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
Can we use, the same idea, for spring webflux??
I have a problem if I call the test api multi times. Anyone know why?
Password is cleared after authentication, you may check the documentation on the User class which the MultiTenantUser inherits from
Can you do full (backend & frontend) reactive Hilla please?
How to get source code?
Do you have a git repo? Thanks