Use JDBC configuration class instead of application.properties

Hi seeking for idea how can I use my @configuration class on spring boot instead of application.properties

kindly disregard I have the fix on my source code