@Override
	public void addPerson(Person person) throws SQLException {
		Connection dbConnection = null;
		java.sql.Statement statement = null;
		try {
			
			dbConnection = PSQL.getConnection();
			statement = dbConnection.createStatement();
			String addPerson = "insert into person(id_person, name, surname, date_of_birth, pin, phone_number, position_id) values ('"+ person.getId()+ "' , '"+ person.getName() +"' , '"+ person.getSurname() +"' , '"+ person.getDateOfBirth()  +"' , '"+ person.getPin()  +"' , '"+ person.getPhoneNr()  +"' , '"+ person.getPositionId() +"')";    
			statement.executeUpdate(addPerson);  
		} catch (SQLException e) {
 
			System.out.println(e.getMessage());
 
		} finally {
 
			if (statement != null) {
				statement.close();
			}
 
			if (dbConnection != null) {
				dbConnection.close();
			}
 
		}
		
	}