fix hibernate4 drop constraint issue