public void deletePsqlReelData() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundException {
String text = data.get(dataKey);
System.out.println("input " + text);
test.log(Status.INFO, "Executing: "+text);
Class.forName("org.postgresql.ds.PGSimpleDataSource").newInstance();
Connection con=DriverManager.getConnection("jdbc:postgresql://192.168.4.23:5432/PanaCIM?user=cim&password=cim");
Statement stmt=con.createStatement();
try {
int rs=stmt.executeUpdate(text);
test.log(Status.INFO, "delete material");
}catch(SQLException e) {
e.printStackTrace();
test.log(Status.INFO, "no material");
}finally {
try {
stmt.close();
}catch(SQLException e) {
e.printStackTrace();
}
try {
con.close();
}catch (SQLException e) {
e.printStackTrace();
}
}
}