Is there a negative consequence to a mismatch between a foreign key name as defined in the hbm mapping file versus the foreign key name specified on the db table?
in my hbm, I have:
<key column="COMPANY_ID" foreign-key="FK_COMPANY_ASDF"/>
on my table, I have:
KEY `FK_COMPANY` ( `COMPANY_ID` )
This mismatch is not due to a problem in hibernate, but rather an error on my part.
My question is if there is a negative impact on save,update,delete,load,queries with this mismatch in foreign key name. Or is the foreign key name specification in the hbm only used for creating the foreign key?
|