Hibernate version:
Hibernate tools 3.1 beta1
Name and version of the database you are using:
PostgresSQL 7.4.8
Hi,
I'm trying to generate mapping files (etc) direct from a third-party schema using the Eclipse plug-in. I'm getting the error message:
Code:
Foreign key name ($1) mapped to different tables. previous:
org.hibernate.mapping.Table(public.cvterm_dbxref) current:
org.hibernate.mapping.Table(public.cvterm_relationship)
This is happening more than once ie if I exclude these tables using the reveng.xml I get the same message on different tables.
1) Is this saying that one column in a particular table is mapped to two different foreign keys, or have I misunderstood?
2) Presumably the $1 is supposed to be expanded to table/column name. Is there a way to modify the logging level for the plug-in to see if there's any more clues?
Thanks for any advice,
Adrian