Hi,
I was getting one exception - I investigated the hibernate source code and found the exception is coming from:
org.hibernate.mapping.ForeignKey.alignColumns(Table referencedTable)
(FK must have the same number of PK).
My question is:
alignColumns(Table referencedTable) method is called from alignColumns().
But I could not find where from alignColumns() method is called.
I was looking at:
/core/trunk/core/src/main/java/org/hibernate/mapping/ForeignKey.java
in
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/hibernate/
Please suggest?
-thanks,
Sudip Das