Package modele.alerte.AlerteVoiture

Examples of modele.alerte.AlerteVoiture.TypeAlerte


            res = smt.executeQuery();
            if (res.next()) {
             
              int idAlerte = res.getInt(1);             
              Voiture voiture = voitureDao.find(res.getInt(2));             
              TypeAlerte typeAlerte = TypeAlerte.valueOf(res.getString(3));
             
              Date dateAlerte = new java.sql.Timestamp(res.getTimestamp(4).getTime());
             
              //Date dateAlerte = new Date(res.getDate(4).getTime());
              result[0] = new AlerteVoiture(idAlerte,voiture,typeAlerte, dateAlerte);
View Full Code Here


            psmt = connection.prepareStatement(GET_ALL_ALERTEVOITURE);
            res = psmt.executeQuery();
            while (res.next()) {
              int idAlerte = res.getInt(1);             
              Voiture voiture = voitureDao.find(res.getInt(2));             
              TypeAlerte typeAlerte = TypeAlerte.valueOf(res.getString(3))
             
              Date dateAlerte = new java.sql.Timestamp(res.getTimestamp(4).getTime());
             
              
              //Date dateAlerte = new Date(res.getDate(4).getTime());
View Full Code Here

TOP

Related Classes of modele.alerte.AlerteVoiture.TypeAlerte

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.