@Inject public DefaultPersistManager(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator) { this.physicalNamingStrategy = physicalNamingStrategy; this.properties = properties; this.interceptor = interceptor; this.idManager = idManager; this.dao = dao; this.validator = validator; serviceRegistry = new StandardServiceRegistryBuilder().applySettings(properties).build(); }
@Inject public UpgradeCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator, PluginManager pluginManager) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); appName = pluginManager.getProduct().getName(); }
@Inject public ResetAdminPasswordCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator, UserManager userManager, PasswordService passwordService) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); this.userManager = userManager; this.passwordService = passwordService; }
@Inject public DBDialectCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); }
@Inject public CheckDataVersionCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); }
@Inject public ApplyDBConstraintsCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); }
@Inject public BackupDBCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); }
@Inject public RestoreDBCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); }
@Inject public CleanDBCommand(PhysicalNamingStrategy physicalNamingStrategy, HibernateProperties properties, Interceptor interceptor, IdManager idManager, Dao dao, EntityValidator validator) { super(physicalNamingStrategy, properties, interceptor, idManager, dao, validator); }
@Override public Class<? extends PhysicalNamingStrategy> getPhysicalNamingStrategy() { return physicalNamingStrategy; }
/** * Set a Hibernate 5.0 PhysicalNamingStrategy for the SessionFactory. * @see Configuration#setPhysicalNamingStrategy */ public void setPhysicalNamingStrategy(PhysicalNamingStrategy physicalNamingStrategy) { this.physicalNamingStrategy = physicalNamingStrategy; }
/** * Set a Hibernate 5.0 PhysicalNamingStrategy for the SessionFactory. * * @see Configuration#setPhysicalNamingStrategy */ public void setPhysicalNamingStrategy(PhysicalNamingStrategy physicalNamingStrategy) { this.physicalNamingStrategy = physicalNamingStrategy; }
Class<? extends PhysicalNamingStrategy> getPhysicalNamingStrategy();