Take pattern into account in jDaoFactoryBase.