Hi Lukas,
thank you for response.
In order to try the ad-hoc binding, I updated the jooq.version in my pom
from 3.14.11 to 3.15.1
After that, my Spring Boot application does not start due to
Field dataSource in de.hub28.steel42.appconfig.JooqConfig required a
bean of type 'javax.sql.DataSource' that could not be found.
The Spring Boot CONDITIONS EVALUATION REPORT contains the following
Negative match which may lead to the reason for that situation:
DataSourceAutoConfiguration:
Did not match:
- @ConditionalOnMissingBean (types:
io.r2dbc.spi.ConnectionFactory; SearchStrategy: all) found beans of type
'io.r2dbc.spi.ConnectionFactory' connectionFactory (OnBeanCondition)
Matched:
- @ConditionalOnClass found required classes
'javax.sql.DataSource',
'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType'
(OnClassCondition)
If I switch back to JOOQ 3.14.11 there is the following Positive match and
the application starts successfully.
DataSourceAutoConfiguration matched:
- @ConditionalOnClass found required classes 'javax.sql.DataSource',
'org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType'
(OnClassCondition)
- @ConditionalOnMissingBean (types: io.r2dbc.spi.ConnectionFactory;
SearchStrategy: all) did not find any beans (OnBeanCondition)
Kind regards
Dominik
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/34db56da-6059-48bc-9eb0-e62f2a1d678dn%40googlegroups.com.