RESOLVED - BATCH-697: JdbcGameDaoIntegrationTests fail in Oracle due to padding of CHAR(8) for PLAYER_ID column
applied Thomas' patch
This commit is contained in:
@@ -64,7 +64,7 @@ public class JdbcGameDaoIntegrationTests extends AbstractTransactionalDataSource
|
||||
gameDao.write(game);
|
||||
|
||||
Game tempGame = (Game) getJdbcTemplate().queryForObject("SELECT * FROM GAMES where PLAYER_ID=? AND YEAR_NO=?",
|
||||
new Object[] { game.getId(), new Integer(game.getYear()) }, new GameRowMapper());
|
||||
new Object[] { "XXXXX00 ", new Integer(game.getYear()) }, new GameRowMapper());
|
||||
assertEquals(tempGame, game);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user