Giriş
Açıklaması şöyle
The critical properties are spring.r2dbc.url and spring.r2dbc.username and spring.r2dbc.passwordÖrnek - mysql
The standard spring.datasource.* properties are not relevant for R2DBC.
Şöyle yaparız
spring.r2dbc.url=r2dbc:pool:mysql://localhost:3306/SQL_RX_TEST? zeroDateTimeBehavior=convertToNull&useSSL=false&useServerPrepareStatement=true
Şöyle yaparız
Örnek - loglamaspring.r2dbc.url=r2dbc:postgresql://postgres@localhost:5432/reactivelogging.level.org.springframework.r2dbc=DEBUG
Şöyle yaparız
# I can enable logging using application.properties to see the executed queries— handy. logging.level.org.springframework.data.repository=DEBUG logging.level.org.springframework.r2dbc.core=DEBUG
Hiç yorum yok:
Yorum Gönder