public static void updateTva(int idtva,String libelle, Float taux) throws SQLException {

        String query;
        try {
            query = "UPDATE TVA set TVALIBELLE=?,TVATX=? WHERE ID_TVA=? ";
            PreparedStatement pStatement = (PreparedStatement) ConnectionBDD.getInstance().getPreparedStatement(query);
            pStatement.setInt(3, idtva);
            pStatement.setString(1, libelle);
            pStatement.setFloat(2, taux);
            pStatement.executeUpdate();


        } catch (SQLException ex) {
            Logger.getLogger(RequetesTva.class.getName()).log(Level.SEVERE, null, ex);

        }

    }