I have two similar schemes in a simple database - “development” and “stage”. I created Java classes with Jooq for one of these schemes (for example, "develop"). When jooq generates a request to db, it implicitly adds the schema name to all request aliases
select "develop"."image"."id", "develop"."image"."image_data"
from "develop"."image"
where "develop"."image"."id" = ?
So my question is, is there a way to change the jooq schema name (for "stage" as an example) in the generated query without restoring the jooq classes for the "stage" schema?
source
share