I'm using IntelliJ 10.5 with a Java/Spring/MySQL project that has multiple database schemas. I created a data source for each of the schemas, and associated the Hibernate facets to the appropriate data source. When creating the data sources, I used a slightly different URL for each depending on the schema, example: "jdbc:mysql://server:port/myschemaname"
This works in the sense that it connectes to the DB and sucks down all the tables, columns, etc. However, my mapping files still have lots of red in them. The table property is green, but the schema property is red, as are all the column references.
What am I doing wrong? Did I miss a step somewhere? Thanks!