|
Sybase doesn't allow a nullable ID column in a M:N relation table. In Order.hbm.xml, the 'orderContacts' set is defined without a not-null constraint on the order_id column. This causes the DDL to not generate properly - the table t_order_orderContacts will not be created:
When dropping the schema, Hibernate attempts to drop constraints from the inverse side:
But this query will hang forever due to not existing t_order_orderContacts.
|