I want to use jooq on a server where the DB environment is dynamic
I want to use jooq on a server where the DB environment is dynamic.
I want to use jooq in spring boot 2 gradle environment. But there is a problem. The build.gradle file requires hard-coded DB information but is available. Can I create only JClass like QClass in QueryDSL?
I am in the server's external environment Creates a dynamic DataSource such as ClassName, UserName, Password, and URL. Hard-coded jooq can not be used.
In jooq
jooq{
version = '3.11.2'
sample(sourceSets.main) {
jdbc {
driver = 'org.postgresql.Driver'
url = 'jdbc:mysql//localhost:3306/sample'
user = 'some_user'
password = 'secret'
....
=========== The jdbc connection information should be hard-coded as shown. But I want a dynamic jooq setting based on the external server settings. Generally, a dynamic DataSource generation method is already in use.
Help! I'm sorry I did not speak English.
I want to use jooq in spring boot 2 gradle environment. But there is a problem. The build.gradle file requires hard-coded DB information but is available. Can I create only JClass like QClass in QueryDSL?
I am in the server's external environment Creates a dynamic DataSource such as ClassName, UserName, Password, and URL. Hard-coded jooq can not be used.
In jooq
jooq{
version = '3.11.2'
sample(sourceSets.main) {
jdbc {
driver = 'org.postgresql.Driver'
url = 'jdbc:mysql//localhost:3306/sample'
user = 'some_user'
password = 'secret'
....
=========== The jdbc connection information should be hard-coded as shown. But I want a dynamic jooq setting based on the external server settings. Generally, a dynamic DataSource generation method is already in use.
Help! I'm sorry I did not speak English.
Комментарии
Отправить комментарий