IN PROGRESS - BATCH-693: Refactor samples along domain contours
packaged football job
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.mapping;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import org.springframework.batch.item.file.mapping.FieldSet;
|
||||
import org.springframework.batch.item.file.mapping.FieldSetMapper;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.dao;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import org.springframework.batch.item.ClearFailedException;
|
||||
import org.springframework.batch.item.FlushFailedException;
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
*
|
||||
*/
|
||||
package org.springframework.batch.sample.dao;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import org.springframework.batch.sample.domain.Player;
|
||||
import org.springframework.jdbc.core.support.JdbcDaoSupport;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.dao;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import org.springframework.batch.item.ClearFailedException;
|
||||
import org.springframework.batch.item.FlushFailedException;
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.dao;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import org.springframework.batch.sample.domain.Player;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package org.springframework.batch.sample.mapping;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import org.springframework.batch.item.file.mapping.FieldSet;
|
||||
import org.springframework.batch.item.file.mapping.FieldSetMapper;
|
||||
@@ -1,7 +1,6 @@
|
||||
package org.springframework.batch.sample.item.writer;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import org.springframework.batch.item.support.AbstractItemWriter;
|
||||
import org.springframework.batch.sample.dao.PlayerDao;
|
||||
import org.springframework.batch.sample.domain.Player;
|
||||
|
||||
public class PlayerItemWriter extends AbstractItemWriter<Player> {
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.batch.sample.mapping;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package org.springframework.batch.sample.mapping;
|
||||
package org.springframework.batch.sample.football;
|
||||
|
||||
import java.sql.ResultSet;
|
||||
import java.sql.SQLException;
|
||||
@@ -12,7 +12,7 @@ import org.springframework.batch.sample.domain.Trade;
|
||||
*
|
||||
* @author Robert Kasanicky
|
||||
*/
|
||||
public class GeneratingItemReader implements ItemReader<Trade> {
|
||||
public class GeneratingTradeItemReader implements ItemReader<Trade> {
|
||||
|
||||
private int limit = 1;
|
||||
|
||||
Reference in New Issue
Block a user