Fading Coder

One Final Commit for the Last Sprint

Resolving Spring Boot DataSource Property Binding Errors

A common isue in Spring Boot applications involves the failure to bind properties under a DataSource configuration, such as spring.datasource.primary, to a javax.sql.DataSource. This typically manifests as a ConfigurationPropertiesBindException with nested erors indicating problems like driver class...

Configuring MyBatis with Multiple Data Sources in Spring Boot

Confgiuring multiple databases in a single Spring Boot application with MyBatis requires defining separate DataSource, SqlSessionFactory, and SqlSessionTemplate beans per database, and mapping each mapper package to the appropriate factory/template. Maven dependencies <dependencies> <depend...