4.8. Accessing Multiple Databases
Prev | Chapter 4. JDBC | Next

## 4.8. Accessing Multiple Databases

Through the properties we've covered thus far, you can configure each `EntityManagerFactory` or `PersistenceManagerFactory` to access a different database. If your application accesses multiple databases, we recommend that you maintain a separate properties file for each one. This will allow you to easily load the appropriate resource for each database at runtime, and to give the correct configuration file to Kodo's command-line tools during development.

Prev | Up | Next
4.7. Setting the SQL Join Syntax | Home | 4.9. Configuring the Use of JDBC Connections