I am using MyBatis in a Java project. I know that database access information such as host, database name, username and password are stored in `configuration.xml`. But I would like to know if I can set these login information from inside my Java program.

It's because my application is accessing different databases on different addresses and I am configuring them in the application. Please help me.