YEAR is reserved word in Derby (and other platforms)
This commit is contained in:
@@ -7,7 +7,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
public class SqlGameDao extends JdbcDaoSupport implements ItemWriter {
|
||||
|
||||
private static final String INSERT_GAME = "INSERT into GAMES(player_id,year,team,week,opponent,"
|
||||
private static final String INSERT_GAME = "INSERT into GAMES(player_id,year_no,team,week,opponent,"
|
||||
+ "completes,attempts,passing_yards,passing_td,interceptions,rushes,rush_yards,"
|
||||
+ "receptions,receptions_yards,total_td) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
public class SqlPlayerSummaryDao extends JdbcDaoSupport implements ItemWriter {
|
||||
|
||||
private static final String INSERT_SUMMARY = "INSERT into PLAYER_SUMMARY(ID,YEAR,COMPLETES,ATTEMPTS," +
|
||||
private static final String INSERT_SUMMARY = "INSERT into PLAYER_SUMMARY(ID,YEAR_NO,COMPLETES,ATTEMPTS," +
|
||||
"PASSING_YARDS,PASSING_TD,INTERCEPTIONS,RUSHES,RUSH_YARDS,RECEPTIONS,RECEPTIONS_YARDS," +
|
||||
"TOTAL_TD) values(?,?,?,?,?,?,?,?,?,?,?,?)";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user