public HibernateMappingContext( PropertyResolver configuration, Object contextObject, Class... persistentClasses) { this( configuration.getProperty( AbstractHibernateDatastore.CONFIG_PROPERTY_DEFAULT_MAPPING, Closure.class, null), contextObject); addPersistentEntities(persistentClasses); }
public HibernateMappingContext(PropertyResolver configuration, Object contextObject) { this( configuration.getProperty( AbstractHibernateDatastore.CONFIG_PROPERTY_DEFAULT_MAPPING, Closure.class, null), contextObject); }