fix hibernate base dao