Thanks Walaa, but this is not exactly what I need.
I have to use one database for some entities (the database for the application I am developing) and another one for others (some related tables that I have to use, mostly only for reading but not always).
This is, my entities are in diferent databases.
I am thinking in making database views in the new database for tables in the other database, and then having some entities that come from tables, and some entities that come from views. But I don´t like ths solution.
do I have to go with adapter?