|
|
|
@ -13,6 +13,8 @@ public class ThreadGainOracleConnect extends Thread {
|
|
|
|
|
|
|
|
|
|
private boolean isConnect = false;
|
|
|
|
|
|
|
|
|
|
private boolean isExcept = false;
|
|
|
|
|
|
|
|
|
|
private IOracleExtractService OracleExtract;
|
|
|
|
|
|
|
|
|
|
private oracleForm form;
|
|
|
|
@ -31,6 +33,7 @@ public class ThreadGainOracleConnect extends Thread {
|
|
|
|
|
try {
|
|
|
|
|
this.isConnect = OracleExtract.isConnectTotalOracle(form.getTarget());
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
isExcept = true;
|
|
|
|
|
new CustomException(Custom4exception.connect_Oracle_Except,e,form,OracleExtract);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -42,4 +45,11 @@ public class ThreadGainOracleConnect extends Thread {
|
|
|
|
|
return isConnect;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @return the isExcept
|
|
|
|
|
*/
|
|
|
|
|
public boolean isExcept() {
|
|
|
|
|
return isExcept;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|