@Test public void testWithCustomStatementFactory() { useFactory(builder().withStatementFactory(new DefaultPojoStatementFactory(getSession()))); }
public DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory) { this.statementFactory = statementFactory; return this; }
DefaultPojoDaoFactoryBuilder { public DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory) { this.statementFactory = statementFactory; return this; } }
DefaultPojoDaoFactoryBuilder { public DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory) { this.statementFactory = statementFactory; return this; } DefaultPojoDaoFactoryBuilder(Session session); }
DefaultPojoDaoFactoryBuilder { public DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory) { this.statementFactory = statementFactory; return this; } DefaultPojoDaoFactoryBuilder(Session session); DefaultPojoDaoFactory build(); DefaultPojoDaoFactoryBuilder withBindingFactory(PojoBindingFactory bindingFactory); DefaultPojoDaoFactoryBuilder withContextFactory(PojoQueryContextFactory contextFactory); DefaultPojoDaoFactoryBuilder withConverter(Converter converter); DefaultPojoDaoFactoryBuilder withConverter(ConverterProvider provider); DefaultPojoDaoFactoryBuilder withConverterRegistry(ConverterRegistry converterRegistry); DefaultPojoDaoFactoryBuilder withExecutor(Executor executor); DefaultPojoDaoFactoryBuilder withFacetProvider(FacetProvider facetProvider); DefaultPojoDaoFactoryBuilder withListener(PojoDaoFactoryListener listener); DefaultPojoDaoFactoryBuilder withMaximumCacheSize(int maximumCacheSize); DefaultPojoDaoFactoryBuilder withNamingStrategy(NamingStrategy namingStrategy); DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory); DefaultPojoDaoFactoryBuilder withThreadPoolSize(int threadPoolSize); }
DefaultPojoDaoFactoryBuilder { public DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory) { this.statementFactory = statementFactory; return this; } DefaultPojoDaoFactoryBuilder(Session session); DefaultPojoDaoFactory build(); DefaultPojoDaoFactoryBuilder withBindingFactory(PojoBindingFactory bindingFactory); DefaultPojoDaoFactoryBuilder withContextFactory(PojoQueryContextFactory contextFactory); DefaultPojoDaoFactoryBuilder withConverter(Converter converter); DefaultPojoDaoFactoryBuilder withConverter(ConverterProvider provider); DefaultPojoDaoFactoryBuilder withConverterRegistry(ConverterRegistry converterRegistry); DefaultPojoDaoFactoryBuilder withExecutor(Executor executor); DefaultPojoDaoFactoryBuilder withFacetProvider(FacetProvider facetProvider); DefaultPojoDaoFactoryBuilder withListener(PojoDaoFactoryListener listener); DefaultPojoDaoFactoryBuilder withMaximumCacheSize(int maximumCacheSize); DefaultPojoDaoFactoryBuilder withNamingStrategy(NamingStrategy namingStrategy); DefaultPojoDaoFactoryBuilder withStatementFactory(PojoStatementFactory statementFactory); DefaultPojoDaoFactoryBuilder withThreadPoolSize(int threadPoolSize);  }