Package com.ledruide.druidecave.dao

Examples of com.ledruide.druidecave.dao.Tasting.save()


     */
    private void lesDegustations() throws Exception {
        for (int i = 0; i < degustations.size(); i++) {
            Tasting orig = (Tasting) degustations.get(i);
            // Pas de transfert particulier � effectuer donc on prend tout...
            orig.save();
        }
    }

    /**
     * Cette m�thode permet de convertir la table des r�coltants vers le nouveau format.<br>
View Full Code Here


                    degust.setBoltle_id(bouteille.getId());
                    degust.setDate(fieldDate.getText());
                    degust.setNote(fieldNote.getText());
                    degust.setComment(fieldComment.getText());
                    degust.setType("Simple");
                    degust.save();

                    SwapFrame.getInstance().init(BottleTastingList.class);
                }
            }
            catch (Exception e1) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.