mock: remove ServletMockSupport
dao: add foreign key check for annotation