public class SpringBatchObjectFactory extends Object
| Constructor and Description |
|---|
SpringBatchObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.springframework.batch.item.file.FlatFileItemReader<T> |
newCsvFileItemReader(org.springframework.core.io.Resource resource,
Class<T> typeClass,
org.springframework.batch.item.file.mapping.FieldSetMapper<T> fieldSetMapper,
String delimiter,
int linesToSkip) |
static <T> org.springframework.batch.item.file.FlatFileItemReader<T> |
newCsvFileItemReader(org.springframework.core.io.Resource resource,
Class<T> typeClass,
String delimiter,
int linesToSkip) |
static <T> org.springframework.batch.item.database.JdbcBatchItemWriter<T> |
newJdbcBatchItemWriter(DataSource dataSource,
String sql) |
static <T> org.springframework.batch.item.database.JpaItemWriter<T> |
newJpaItemWriter(javax.persistence.EntityManagerFactory entityManagerFactory) |
public static <T> org.springframework.batch.item.database.JdbcBatchItemWriter<T> newJdbcBatchItemWriter(DataSource dataSource, String sql)
public static <T> org.springframework.batch.item.file.FlatFileItemReader<T> newCsvFileItemReader(org.springframework.core.io.Resource resource,
Class<T> typeClass,
String delimiter,
int linesToSkip)
public static <T> org.springframework.batch.item.file.FlatFileItemReader<T> newCsvFileItemReader(org.springframework.core.io.Resource resource,
Class<T> typeClass,
org.springframework.batch.item.file.mapping.FieldSetMapper<T> fieldSetMapper,
String delimiter,
int linesToSkip)
public static <T> org.springframework.batch.item.database.JpaItemWriter<T> newJpaItemWriter(javax.persistence.EntityManagerFactory entityManagerFactory)
Copyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.