Package pari

Examples of pari.PariHistorique


    Session session = HibernateUtil.openSession();
    Transaction tr = null;
    try{
      tr = session.beginTransaction();
      // ajout dans les pariHistorique avant de supprimer le pari
      PariHistorique pariHisto = new PariHistorique(pari, user.getId_user(), pari.getId_train().getStationDUA(),
          pari.getId_train().getNum_TheoricalTrainData());

      session.save(pariHisto);
      // supression du pari chez le user mais avant je check si je le credite ou pas d'un montant
      if(pari.getEtatPari() == 1){
View Full Code Here

TOP

Related Classes of pari.PariHistorique

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.