Hi all,
I am trying to set up a unique constraint on more than one column, But the hb2m2ddl script keeps on bombing:
@Table(uniqueConstraints=
{@UniqueConstraint(columnNames={"customer","run"})})
org.hibernate.AnnotationException: Unable to create unique key constraint (customer, run) on table Billing: customer not found
The column customer does exists. I am using MySQL. Any ideas?
thanks
_________________ http://www.jumpingbean.co.za http://www.cyberconnect.co.za http://www.ip-pbx.co.za http://www.learndrupal.co.za
|