Reflection for extractEntity in BaseDAOImpl.