Package modele.voiture

Examples of modele.voiture.MarqueVoiture


          try {
            smt = connection.prepareStatement(GET_ALL_MARQUE_VOIT);
            res = smt.executeQuery();

            while (res.next()) {
              MarqueVoiture marqueVoiture = new MarqueVoiture(res.getInt(1));
              marqueVoiture.setLibelle(res.getString(2));

              listeMarqueVoiture.add(marqueVoiture);
            }
          }
          finally {
View Full Code Here


          try {
            smt = connection.createStatement();
            res = smt.executeQuery("SELECT idMarqueVoit, descripMarqueVoit from TMarqueVoiture where idMarqueVoit = LAST_INSERT_ID()");

            if (res.next()) {
              result[0] = new MarqueVoiture(res.getInt(1));
              result[0].setLibelle(res.getString(2));

            }
          }
          finally {
View Full Code Here

TOP

Related Classes of modele.voiture.MarqueVoiture

Copyright © 2018 www.massapicom. 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.