@Override
	public void updateSallary(Position position) throws SQLException {
		Connection dbConnection = null;
		java.sql.Statement statement = null;
		try {

			dbConnection = PSQL.getConnection();
			statement = dbConnection.createStatement();
			String positionUpdate = "UPDATE position SET sallary = "
					+ position.getSallary() + "  WHERE id = "
					+ position.getName() + ";";
			statement.executeUpdate(positionUpdate);

		} catch (SQLException e) {

			System.out.println(e.getMessage());

		} finally {

			if (statement != null) {
				statement.close();
			}

			if (dbConnection != null) {
				dbConnection.close();
			}

		}

	}