Delete the COMPILED JAVA CLASS and delete the CREATED FUNCTION
(self)
| 121 | return True |
| 122 | |
| 123 | def deleteClassAndFunctionToExecOsCmd(self): |
| 124 | ''' |
| 125 | Delete the COMPILED JAVA CLASS and delete the CREATED FUNCTION |
| 126 | ''' |
| 127 | logging.info("Delete the PL/SQL function created") |
| 128 | status = self.__execPLSQL__(self.SOURCE_DROP_FUNCTION) |
| 129 | if isinstance(status,Exception): |
| 130 | logging.info("Impossible to drop the function: {0}".format(self.cleanError(status))) |
| 131 | return status |
| 132 | else: |
| 133 | logging.info("Delete the java class compiled") |
| 134 | status = self.__execPLSQL__(self.SOURCE_DROP_CLASS) |
| 135 | if isinstance(status,Exception): |
| 136 | logging.info("Impossible to drop the class: {0}".format(self.cleanError(status))) |
| 137 | return status |
| 138 | return True |
| 139 | |
| 140 | def __runOSCmd__ (self, cmd, printResponse=True, retryNb=1): |
| 141 | ''' |
no test coverage detected