/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template */ package TEST; import acces_aux_donnes.ConnexionSQL; import acces_aux_donnes.PraticienSQL; import acces_aux_donnes.MedicamentSQL; import java.sql.Connection; /** * * @author medhi.rodrigues */ public class testMain { /** * @param args the command line arguments */ public static void main(String[] args) { //Connection connexionTest = connexionSQL.getConnect("10.121.38.196","bdgsb","adminGSB","mdpGSB"); //Elio //Connection connexionTest = connexionSQL.getConnect("10.121.38.75","bdgsb","adminGSB","mdpGSB"); //Yann //Connection connexionTest = connexionSQL.getConnect("10.121.38.69","bdgsb","appliGSB","(Uq1XV0Tr01s2H9Z"); //praticienSQL a =new praticienSQL(); //a.rechercherPraticien("Didier", "1234"); //MedicamentSQL b = new MedicamentSQL(); //b.rechercherMedicament("3MYC7"); String id= "3MYC7"; String imgTrouve = "../img/"+ id +".jpg"; System.out.print(imgTrouve); } }