[hibernate-dev] Foreign key to not primary key column.

Max Rydahl Andersen max.andersen at redhat.com
Mon Mar 7 04:52:01 EST 2011


Dmitry,

Could you make the patch a pull-request on hibernate 3.x and 4.x git version ?

Then I think it can/will be accepted/processed faster.

Thanks,
Max

On Mar 2, 2011, at 10:44, Dmitry Geraskov wrote:

> Hey, guys,
> it is possible that foreign key references non-primary key, but some candidate key. For example unique column.
> But seems it was not taken into account in ForeignKey class.
> And that is why we have a NPE in the case.
> Could somebody review the patch which fixes the problem?
> 
> (see https://issues.jboss.org/browse/JBIDE-5461 for more details)
> Thanks,
> Dmitry Geraskov
> Hibernate tools plugins developer.
> <fk_patch.txt>_______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

/max
http://about.me/maxandersen







More information about the hibernate-dev mailing list