public void saveBusinessRule(String BUSINESSRULENAAM,String LANGUAGENAAM, String CODE){
        try {
            String sql =    "SELECT *\n" +
                            "FROM GEGENEREERDE_BUSINESSRULE\n" +
                            "WHERE GEGENEREERDE_BUSINESSRULE.BUSINESSRULENAAM = '" + BUSINESSRULENAAM + "'\n" +
                            "AND GEGENEREERDE_BUSINESSRULE.LANGUAGENAAM = '" + LANGUAGENAAM + "'";
            Statement stmt = con.createStatement();
            ResultSet rs = stmt.executeQuery(sql);
            if(rs.next()) {
                PreparedStatement updateStatement = con.prepareStatement("UPDATE GEGENEREERDE_BUSINESSRULE \n" +
                        "SET CODE = ? \n" +
                        "WHERE GEGENEREERDE_BUSINESSRULE.BUSINESSRULENAAM = ?\n" +
                        "AND GEGENEREERDE_BUSINESSRULE.LANGUAGENAAM = ?");
                updateStatement.setString(1, CODE);
                updateStatement.setString(2, BUSINESSRULENAAM);
                updateStatement.setString(3, LANGUAGENAAM);
                updateStatement.executeQuery();
                updateStatement.close();
            } else {
                try {
                    PreparedStatement updateStatement = con.prepareStatement("INSERT INTO GEGENEREERDE_BUSINESSRULE (GENID,BUSINESSRULENAAM,LANGUAGENAAM,CODE) VALUES (SEQ_GEGENEREERDE_BUSINESSRULE.NEXTVAL,?,?,?)");
                    updateStatement.setString(1, BUSINESSRULENAAM);
                    updateStatement.setString(2, LANGUAGENAAM);
                    updateStatement.setString(3, CODE);
                    updateStatement.executeQuery();
                    updateStatement.close();
                } catch (Exception ex) {
                    System.out.println("Kan gemaakte businessrule niet opslaan in de database" + ex);
                    ex.printStackTrace();
                }
            }
            stmt.close();
        } catch (Exception ex) {
            System.out.println("Kan gemaakte businessrule niet opslaan in de database" + ex);
            ex.printStackTrace();
        }
    }