Hi guys.
For a strange reason, I'm forced to define some many-to-one mappings not referring to the entity Id but to an other field. (very bad...I know:-)
For this reason I'm using property-ref to a unique property in the associated class.
I wonder though why the schema export doesn't generate any constraint for the column.
i.e:
without property-ref:
Code:
add constraint FK3A2DB58975C8AF8A foreign key (systemid) references system (id)
with property-ref on name I don't get any
Code:
add constraint FK3A2DB58975C8AF8A foreign key (systemname) references system (name)
as I would expect.
Any clue?
/roberto