Hi Kalle,
I attached a patch for
TYNAMO-151: jpa-seedentity does not correctly check for @UniqueContraint in
the @Table annotation
 https://jira.codehaus.org/browse/TYNAMO-151

It has a test for it as well. I think it covers good the scenario with a
single valued foreign keys referencing single valued primary key.
What is not covered is
1. @ManyToOne when the referenced column is not a PK (but unique)
2. @ManyToOne for multivalued FKs.

Cheers,
Dragan Sahpaski

Reply via email to