Does MyBatis support configuration of multiple data sources?
Yes, MyBatis supports configuring multiple data sources. This can be achieved by configuring the information of multiple data sources in the MyBatis configuration file, and then specifying which data source to use in the locations where access to a specific data source is needed. This allows for accessing multiple different databases simultaneously within a project. Common ways to configure multiple data sources include using MyBatis’s multi-data source plugin or configuring multiple SqlSessionFactory instances.