I use multiple databases. I can define them in the the Database tool, connect to them and do ad-hoc queries just fine.
But I can't find how to tell IntelliJ IDEA which databases are used by a given module. On occasion I see pulldowns on my DaoImpl but it does not refer to the right databases and the result is compiler warnings for the columns and tables... even though they are valid.
How do I fix this?