I didn't know about any schema-elements naming rules from docs... But anyway there is something else here... >I guess your column is named exactly as the related table, eg. foreign >column name ="SomeTable" and related table name="SomeTable". > This is my schema fragment. Could you point me, what's wrong? Thank you.