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:
robokaso
2008-07-01 11:32:54 +00:00
parent c82bebcafc
commit 37ec7888ff

View File

@@ -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);
}