blob: 18f58ba48019f4e292d5e848cc8de69d58ce5ce6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class ArchitectureCheckToSqlFromUI {
ResultSet result;
Connection connection;
public ArchitectureCheckToSqlFromUI(Statement statement, String requete) {
try {
connection = statement.getConnection();
result = statement.executeQuery(requete);
} catch (SQLException sql) {
sql.printStackTrace();
}
}
}
|