fix database hibernate