@Override
	public boolean updateComputer(final Computer computer) {
		int res = jt.update(new PreparedStatementCreator() {
			@Override
			public PreparedStatement createPreparedStatement(Connection con)
					throws SQLException {
				PreparedStatement myPreparedStatement = con
						.prepareStatement(UPDATE_COMPUTER);
				myPreparedStatement.setString(1, computer.getName());
				if (computer.getIntroduced() != null)
					myPreparedStatement.setDate(2, new java.sql.Date(computer
							.getIntroduced().getTime()));
				else
					myPreparedStatement.setDate(2, null);
				if (computer.getDiscontinued() != null)
					myPreparedStatement.setDate(3, new java.sql.Date(computer
							.getDiscontinued().getTime()));
				else
					myPreparedStatement.setDate(3, null);

				if (computer.getCompany() == null) {
					myPreparedStatement.setNull(4, Types.NULL);
				} else {
					myPreparedStatement
							.setInt(4, computer.getCompany().getId());
				}
				myPreparedStatement.setInt(5, computer.getId());
				return myPreparedStatement;
			}
		});
		return (res != 0) ? true : false;
	}