args.put("configurationProvider", configurationProvider);
DefaultHibernateConfigurationProvider configurationProvider = new DefaultHibernateConfigurationProvider(); configurationProvider.setSessionFactory(sessionFactory);  args.put("configurationProvider", configurationProvider);
    public PropertySet getPropertySet(long entryId) {        HashMap args = new HashMap();        args.put("entityName", "OSWorkflowEntry");        args.put("entityId", new Long(entryId));				DefaultHibernateConfigurationProvider configurationProvider = new DefaultHibernateConfigurationProvider();		configurationProvider.setSessionFactory(sessionFactory);		args.put("configurationProvider", configurationProvider);        return PropertySetManager.getInstance("hibernate", args);    }