public static void insertBorne(Borne borne) {
         
        PreparedStatement stat;
        try {
            stat = ConnexionDB.getConnection().prepareStatement("insert into borne (serialNumber,etat,fk_id_station) values (?,?,?)");
            stat.setString(1, borne.getSerialNumber());
            stat.setString(2, borne.getEtat());
            stat.setInt(3, borne.getFk_id_station());
            stat.executeUpdate();
        } catch (SQLException e) {
            while (e != null) {
                System.out.println(e.getErrorCode());
                System.out.println(e.getMessage());
                System.out.println(e.getSQLState());
                e.printStackTrace();
                e = e.getNextException();
            }
        }
        
    }