While booting up the application I am getting the below error:
Unable to create a ConnectionFactory for ConnectionFactoryOptions{options={database= DB_NAME, host= DB_HOST, driver= rdb2, }}. Available drivers: [ pool ]
Can you help me to configure the properties to connect to the DB?
I was trying to incorporate the reactive version of DB2. For the same I have enabled
@EnableR2dbcRepositories
and created a Repository class.I have added the DB properties like below:
spring.r2dbc.driver-class-name: com.ibm.db2.r2dbc.DB2ConnectionFactory
spring.r2dbc.url: r2dbc:rdbc2://{DB_URL}:{DB_PORT}/{DB_NAME}
spring.r2dbc.username: {DB_USERNAME}
spring.r2dbc.password: {DB_PASS}
While booting up the application I am getting the below error:
Unable to create a ConnectionFactory for ConnectionFactoryOptions{options={database= DB_NAME, host= DB_HOST, driver= rdb2, }}. Available drivers: [ pool ]
Can you help me to configure the properties to connect to the DB?