Related to ISSUE-44005: Remove unneeded connection="true" from modulescript
authorÁlvaro Ferraz <alvaro.ferraz@openbravo.com>
Wed, 13 May 2020 17:47:28 +0200
changeset 37349 e4c009b8d9c3
parent 37348 31ddb9f97c86
child 37350 0a9617665103
Related to ISSUE 44005: Remove unneeded connection="true" from modulescript
src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInvoiceDocumentTypes.class
src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInvoiceDocumentTypesData.class
src-util/modulescript/src/org/openbravo/modulescript/InitializeInvoiceDocumentTypes.java
src-util/modulescript/src/org/openbravo/modulescript/InitializeInvoiceDocumentTypes_data.xsql
Binary file src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInvoiceDocumentTypes.class has changed
Binary file src-util/modulescript/build/classes/org/openbravo/modulescript/InitializeInvoiceDocumentTypesData.class has changed
--- a/src-util/modulescript/src/org/openbravo/modulescript/InitializeInvoiceDocumentTypes.java	Wed May 13 11:49:45 2020 +0200
+++ b/src-util/modulescript/src/org/openbravo/modulescript/InitializeInvoiceDocumentTypes.java	Wed May 13 17:47:28 2020 +0200
@@ -27,8 +27,8 @@
   public void execute() {
     try {
       ConnectionProvider cp = getConnectionProvider();
-      InitializeInvoiceDocumentTypesData.initializeSimplifiedInvoiceDocumentType(cp.getConnection(), cp);
-      InitializeInvoiceDocumentTypesData.initializeAggregatedInvoiceDocumentType(cp.getConnection(), cp);
+      InitializeInvoiceDocumentTypesData.initializeSimplifiedInvoiceDocumentType(cp);
+      InitializeInvoiceDocumentTypesData.initializeAggregatedInvoiceDocumentType(cp);
     } catch (Exception e) {
       handleError(e);
     }
--- a/src-util/modulescript/src/org/openbravo/modulescript/InitializeInvoiceDocumentTypes_data.xsql	Wed May 13 11:49:45 2020 +0200
+++ b/src-util/modulescript/src/org/openbravo/modulescript/InitializeInvoiceDocumentTypes_data.xsql	Wed May 13 17:47:28 2020 +0200
@@ -29,7 +29,7 @@
         ]]>
       </Sql>
   </SqlMethod>
-  <SqlMethod name="initializeSimplifiedInvoiceDocumentType" type="preparedStatement" connection="true" return="rowCount">
+  <SqlMethod name="initializeSimplifiedInvoiceDocumentType" type="preparedStatement" return="rowCount">
     <SqlMethodComment></SqlMethodComment>
       <Sql>
         <![CDATA[
@@ -39,7 +39,7 @@
         ]]>
       </Sql>
   </SqlMethod>
-  <SqlMethod name="initializeAggregatedInvoiceDocumentType" type="preparedStatement" connection="true" return="rowCount">
+  <SqlMethod name="initializeAggregatedInvoiceDocumentType" type="preparedStatement" return="rowCount">
     <SqlMethodComment></SqlMethodComment>
       <Sql>
         <![CDATA[