This sounds more like a problem with Torque which is per default used to generate the tables in the database. You can try to use commons-sql instead (http://jakarta.apache.org/commons/sandbox/sql/), it groks the same table schema but it splits the table generation and the creation of foreignkeys into two separate steps so that all tables are available when the foreignkeys are created.
Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
