Here is some MySQL information from the Middlegen site:
Quote:
Requires MySQL 3.23.43b (or higher) with InnoDB enabled and MM.MySQL 2.0.9 or higher. The table names must be define in lower case, otherwise no relations will be discovered. If you have relations using foreign keys that consist of multiple columns, you should use the driver shipped with Middlegen. It has a bugfix which isn't yet fixed in the official driver.
On Win32 with MySQL 4.0.18 (or higher) + JDBC 3.0.14 (or higher), set lower_case_table_names=2 in my.ini. This will force InnoDB tables to be stored in lower-case, and will solve the above problem with relations discovery. The tables can still be referred to my their upper/proper case names, but will be converted to lower-case during the query. Not tested, but expect that lower_case_table_names to either 1 or 2 on Linux will have similar results.
Tested multi-column FKs with MySQL 4.0.20 and JDBC 3.0.14, and multi-column FKs appeared to work.