Skip to content

Dynamic Multi Tenancy possible? #16566

Closed Answered by lukaseder
mrclrchtr asked this question in Q&A
Discussion options

You must be logged in to vote

What best practices and concepts should be considered when implementing these requirements, and how can they be effectively implemented in jOOQ?

jOOQ isn't really opinionated about "best practices" (assuming these are either about Spring or kotlin or both). jOOQ's SPIs are designed to support any such "best practice"

This raises the question of whether the ID can be set dynamically here.

Of course. Every jOOQ query is dynamic, including such predicates provided by yourself. You can provide AREA.TENANT_ID.eq(myId). You can configure jOOQ in any way you want. While the DefaultPolicyProvider helps implement very simple PolicyProvider implementations, you can always also implement the int…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mrclrchtr
Comment options

@lukaseder
Comment options

@mrclrchtr
Comment options

Answer selected by lukaseder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment