-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconnectionTest.java
More file actions
33 lines (29 loc) · 1002 Bytes
/
Copy pathconnectionTest.java
File metadata and controls
33 lines (29 loc) · 1002 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package connectiontest;
import Myconnection.MyConnection;
import QuestionsService.QuestionsService;
import formulaireServices.formulaireServices;
import java.sql.SQLException;
import projetpidev.Questions;
import projetpidev.formulaire;
/**
*
* @author LENOVO
*/
public class connectionTest {
public static void main(String[] args) throws SQLException{
MyConnection mc= MyConnection.getInstance();
Questions f1 =new Questions(2,"oui","oui","non","oui","jsp","null","true");
QuestionsService qs= new QuestionsService();
//fo.rechercherFormulaire(0);
// fo.ajouterFormulaire(f1);}}
//fo.ajouterFormulaire(f1);
//fo.supprimerFormulaire(3);
qs.Questionnaire(f1);
//fo.rechercherFormulaire(9);
}
}