Using sessionFactory.getAllClassMetadata() for: Add  missing CRUD
methods for Order Frequency - TRUNK-4188