src-db/database/build-create.xml
author RM packaging bot <staff.rm@openbravo.com>
Thu, 28 Nov 2013 19:35:48 +0100
changeset 21503 ce703e5082ac
parent 20711 0b9c6c0013da
child 25297 32ef96c592a4
permissions -rw-r--r--
CI: update AD_MODULE to version 21502
asier@1929
     1
<?xml version="1.0" encoding="UTF-8" ?>
asier@1929
     2
<!--
asier@1929
     3
 *************************************************************************
asier@1929
     4
 * The contents of this file are subject to the Openbravo  Public  License
priya@9085
     5
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
asier@1929
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
asier@1929
     7
 * file except in compliance with the License. You  may  obtain  a copy of
asier@1929
     8
 * the License at http://www.openbravo.com/legal/license.html 
asier@1929
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
asier@1929
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
asier@1929
    11
 * License for the specific  language  governing  rights  and  limitations
asier@1929
    12
 * under the License. 
asier@1929
    13
 * The Original Code is Openbravo ERP. 
ggi@6702
    14
 * The Initial Developer of the Original Code is Openbravo SLU 
asier@10182
    15
 * All portions are Copyright (C) 2001-2011 Openbravo SLU 
asier@1929
    16
 * All Rights Reserved. 
asier@1929
    17
 * Contributor(s):  ______________________________________.
asier@1929
    18
 ************************************************************************
asier@1929
    19
-->
asier@1929
    20
<!--
asier@1929
    21
List of targets:
asier@1929
    22
asier@1929
    23
create.database: creates the database from scratch.
asier@1929
    24
-->
asier@1929
    25
<project name="openbravo" default="create.database" basedir=".">
asier@1929
    26
  <property environment="env" />
asier@1929
    27
  <condition property="bbdd.owner.url" value="${bbdd.url}/${bbdd.sid}" else="${bbdd.url}">
asier@1929
    28
    <and>
martin@2869
    29
      <equals arg1="${bbdd.rdbms}" arg2="POSTGRE" />
asier@1929
    30
    </and>
asier@1929
    31
  </condition>
asier@1929
    32
asier@1929
    33
asier@1929
    34
asier@1929
    35
  <path id="runtime-classpath-create">
asier@1929
    36
    <fileset dir="./lib">
asier@1929
    37
      <include name="**/*.jar" />
asier@1929
    38
    </fileset>
asier@1929
    39
    <pathelement path="${build}" />
asier@1929
    40
    <fileset dir="${base.lib}">
martin@2869
    41
      <include name="**/*.jar" />
asier@1929
    42
    </fileset>
asier@1929
    43
  </path>
martin@2869
    44
martin@2869
    45
  <taskdef name="createdatabase" classname="org.openbravo.ddlutils.task.CreateDatabase">
asier@1929
    46
    <classpath refid="runtime-classpath-create" />
asier@1929
    47
  </taskdef>
martin@2869
    48
asier@1929
    49
  <target name="create.database">
martin@2869
    50
    <antcall target="clean.database.${bbdd.rdbms}" />
martin@2869
    51
    <antcall target="prepare.database" />
antonio@4270
    52
    <antcall target="create.database.all" />
asier@1929
    53
    <antcall target="database.preimport.${bbdd.rdbms}" />
asier@1929
    54
    <antcall target="database.postimport.${bbdd.rdbms}" />
asier@1929
    55
    <antcall target="database.postcreate.${bbdd.rdbms}" />
martin@2869
    56
    <antcall target="update.dbupdate.timestamp" />
asier@1929
    57
  </target>
asier@1929
    58
asier@1929
    59
asier@1929
    60
antonio@2151
    61
asier@1929
    62
  <target name="clean.database.ORACLE">
martin@2869
    63
    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue">
asier@1929
    64
      <classpath>
asier@1929
    65
        <fileset dir="${base.lib}">
asier@1929
    66
          <include name="**/*.jar">
asier@1929
    67
          </include>
asier@1929
    68
        </fileset>
asier@1929
    69
      </classpath>
asier@1929
    70
      <transaction>
asier@1929
    71
        DROP USER ${bbdd.user} CASCADE;
asier@1929
    72
      </transaction>
asier@1929
    73
    </sql>
asier@1929
    74
  </target>
asier@1929
    75
asier@1929
    76
  <target name="clean.database.POSTGRE">
antonio@15410
    77
    <sql driver="${bbdd.driver}" url="${bbdd.url}/postgres" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
asier@1929
    78
      <classpath>
asier@1929
    79
        <fileset dir="${base.lib}">
asier@1929
    80
          <include name="**/*.jar">
asier@1929
    81
          </include>
asier@1929
    82
        </fileset>
asier@1929
    83
      </classpath>
asier@1929
    84
      <transaction>
asier@1929
    85
        DROP DATABASE ${bbdd.sid};
asier@1929
    86
      </transaction>
asier@1929
    87
    </sql>
antonio@15410
    88
    <sql driver="${bbdd.driver}" url="${bbdd.url}/postgres" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
asier@1929
    89
      <classpath>
asier@1929
    90
        <fileset dir="${base.lib}">
asier@1929
    91
          <include name="**/*.jar">
asier@1929
    92
          </include>
asier@1929
    93
        </fileset>
asier@1929
    94
      </classpath>
asier@1929
    95
      <transaction>
asier@1929
    96
        DROP ROLE ${bbdd.user};
asier@1929
    97
      </transaction>
asier@1929
    98
    </sql>
asier@1929
    99
  </target>
asier@1929
   100
antonio@3785
   101
  <target name="clean.database.DB2">
antonio@3785
   102
    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
antonio@3785
   103
      <classpath>
antonio@3785
   104
        <fileset dir="${base.lib}">
antonio@3785
   105
          <include name="**/*.jar">
antonio@3785
   106
          </include>
antonio@3785
   107
        </fileset>
antonio@3785
   108
      </classpath>
antonio@3785
   109
      <transaction>
antonio@3785
   110
        DROP TABLE ERRORSCH.ERRORTB;
antonio@3785
   111
      </transaction>
antonio@3785
   112
    </sql>
antonio@3785
   113
    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
antonio@3785
   114
      <classpath>
antonio@3785
   115
        <fileset dir="${base.lib}">
antonio@3785
   116
          <include name="**/*.jar">
antonio@3785
   117
          </include>
antonio@3785
   118
        </fileset>
antonio@3785
   119
      </classpath>
antonio@3785
   120
      <transaction>
antonio@3785
   121
        CALL SYSPROC.ADMIN_DROP_SCHEMA('${bbdd.user}', NULL, 'ERRORSCH', 'ERRORTB');
antonio@3785
   122
      </transaction>
antonio@3785
   123
    </sql>
antonio@3785
   124
  </target>
antonio@3785
   125
asier@1929
   126
  <target name="ORACLE.structure">
martin@2869
   127
    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" delimiter="/">
asier@1929
   128
      <classpath>
asier@1929
   129
        <fileset dir="${base.lib}">
asier@1929
   130
          <include name="**/*.jar">
asier@1929
   131
          </include>
asier@1929
   132
        </fileset>
asier@1929
   133
      </classpath>
asier@1929
   134
      <transaction>
asier@1929
   135
        --CHEKING IF USER EXISTS
asier@1929
   136
        DECLARE
asier@1929
   137
          v_count NUMBER;
asier@1929
   138
        BEGIN
asier@1929
   139
          SELECT COUNT(*) INTO v_count FROM DBA_USERS WHERE USERNAME = '${bbdd.user}';
asier@1929
   140
          IF (v_count > 0) THEN
asier@1929
   141
            RAISE_APPLICATION_ERROR(-20100, '${bbdd.user} ALREADY EXISTS. SELECT ANOTHER USER OR DROP IT FIRST');
asier@1929
   142
          END IF;
asier@1929
   143
        END;
asier@1929
   144
        /
asier@1929
   145
      </transaction>
asier@1929
   146
asier@1929
   147
    </sql>
martin@2869
   148
    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue">
asier@1929
   149
      <classpath>
asier@1929
   150
        <fileset dir="${base.lib}">
asier@1929
   151
          <include name="**/*.jar">
asier@1929
   152
          </include>
asier@1929
   153
        </fileset>
asier@1929
   154
      </classpath>
asier@1929
   155
      <transaction>
asier@1929
   156
        --UPDATING OPEN CURSORS NUMBER
asier@1929
   157
        ALTER SYSTEM SET OPEN_CURSORS = 10000 SCOPE=BOTH;
asier@1929
   158
      </transaction>
asier@1929
   159
    </sql>
antonio@5323
   160
    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}">
asier@1929
   161
      <classpath>
asier@1929
   162
        <fileset dir="${base.lib}">
asier@1929
   163
          <include name="**/*.jar">
asier@1929
   164
          </include>
asier@1929
   165
        </fileset>
asier@1929
   166
      </classpath>
asier@1929
   167
      <transaction>
asier@1929
   168
        --CREATING USER
asier@1929
   169
        CREATE USER ${bbdd.user} IDENTIFIED BY ${bbdd.password}
asier@1929
   170
        DEFAULT TABLESPACE USERS
asier@1929
   171
        TEMPORARY TABLESPACE TEMP;
asier@1929
   172
asier@1929
   173
        --GRANTING USER
asier@1929
   174
      	grant create session     to ${bbdd.user};
asier@1929
   175
      	grant alter  session     to ${bbdd.user};
asier@1929
   176
      	grant create table       to ${bbdd.user};
asier@1929
   177
      	grant create procedure   to ${bbdd.user};
asier@1929
   178
      	grant create trigger     to ${bbdd.user};
asier@1929
   179
      	grant create view        to ${bbdd.user};
antonio@4086
   180
        grant create sequence    to ${bbdd.user};
asier@1929
   181
      	alter user ${bbdd.user} quota unlimited on users;
asier@1929
   182
      </transaction>
asier@1929
   183
    </sql>
asier@1929
   184
  </target>
asier@1929
   185
asier@1929
   186
  <target name="POSTGRE.structure">
antonio@15410
   187
    <sql driver="${bbdd.driver}" url="${bbdd.url}/postgres" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
asier@1929
   188
      <classpath>
asier@1929
   189
        <fileset dir="${base.lib}">
asier@1929
   190
          <include name="**/*.jar">
asier@1929
   191
          </include>
asier@1929
   192
        </fileset>
asier@1929
   193
      </classpath>
asier@1929
   194
      <transaction>
asier@1929
   195
        --CREATING USER
asier@1929
   196
        CREATE ROLE ${bbdd.user} LOGIN PASSWORD '${bbdd.password}'
asier@1929
   197
               SUPERUSER CREATEDB CREATEROLE
asier@1929
   198
               VALID UNTIL 'infinity';
asier@1929
   199
        
asier@1929
   200
        UPDATE pg_authid SET rolcatupdate=true WHERE rolname='${bbdd.user}';
asier@1929
   201
      </transaction>
asier@1929
   202
    </sql>
antonio@15410
   203
    <sql driver="${bbdd.driver}" url="${bbdd.url}/postgres" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" autocommit="true">
asier@1929
   204
      <classpath>
asier@1929
   205
        <fileset dir="${base.lib}">
asier@1929
   206
          <include name="**/*.jar">
asier@1929
   207
          </include>
asier@1929
   208
        </fileset>
asier@1929
   209
      </classpath>
asier@1929
   210
      <transaction>
asier@1929
   211
        CREATE DATABASE ${bbdd.sid}
asier@1929
   212
                  WITH ENCODING='UTF8'
antonio@3511
   213
                  OWNER=${bbdd.user}
antonio@3511
   214
                  TEMPLATE=template0;
asier@1929
   215
      </transaction>
asier@1929
   216
    </sql>
asier@1929
   217
  </target>
asier@1929
   218
antonio@3785
   219
  <target name="DB2.structure">
antonio@3785
   220
  </target>
antonio@3785
   221
  
martin@2869
   222
  <target name="prepare.database">
martin@2869
   223
    <antcall target="${bbdd.rdbms}.structure" />
martin@2869
   224
  </target>
asier@1929
   225
antonio@4270
   226
antonio@4270
   227
  <target name="create.database.all">
antonio@4270
   228
    <createdatabase driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" model="model" object="${bbdd.object}" dropfirst="false" failonerror="false" verbosity="${bbdd.verbosity}" basedir="${base.db}/../.." modulesDir="${base.modules}/" dirFilter="*/src-db/database/model" filter="com.openbravo.db.OpenbravoMetadataFilter" input="src-db/database/sourcedata,modules/*/src-db/database/sourcedata">
martin@2869
   229
    </createdatabase>
martin@2869
   230
    <antcall target="database.poststructure.${bbdd.rdbms}" />
martin@2869
   231
  </target>
asier@1929
   232
asier@1929
   233
asier@1929
   234
  <target name="database.postcreate.ORACLE">
antonio@3145
   235
    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="abort" autocommit="true">
martin@2869
   236
      <classpath>
martin@2869
   237
        <fileset dir="${base.lib}">
martin@2869
   238
          <include name="**/*.jar">
martin@2869
   239
          </include>
martin@2869
   240
        </fileset>
martin@2869
   241
      </classpath>
martin@2869
   242
      <transaction>
asier@1929
   243
          DELETE FROM AD_SYSTEM;
asier@1929
   244
          INSERT INTO AD_SYSTEM (AD_SYSTEM_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, TAD_RECORDRANGE, TAD_RECORDRANGE_INFO,  TAD_TRANSACTIONALRANGE, TAD_THEME)
asier@10182
   245
          VALUES ('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '?', 20, 100,  1, 
asier@10182
   246
                  (SELECT Value 
asier@10182
   247
				     FROM (SELECT Value 
asier@10182
   248
					         FROM AD_Ref_List 
asier@10182
   249
                            WHERE AD_Ref_List_ID IN ('800247', '27F0D1235450423C814D3A0DCABA7D10')
asier@10182
   250
                            ORDER BY (CASE WHEN Name ='Default' THEN 2 ELSE 1 END))
asier@10182
   251
                    WHERE RowNum = 1));
asier@1929
   252
          DELETE FROM AD_SYSTEM_INFO;
stefan@20711
   253
          INSERT INTO AD_SYSTEM_INFO(AD_SYSTEM_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ANT_VERSION, OB_INSTALLMODE, CODE_REVISION, MATURITY_UPDATE, MATURITY_SEARCH,
stefan@20711
   254
                your_company_login_image, your_it_service_login_image, your_company_menu_image, your_company_big_image, your_company_document_image, support_contact)
stefan@20711
   255
          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '${ant.version}', 'From Sources', SUBSTR('${code.revision}',1,60), '200', '200',
stefan@20711
   256
                '37B37B6A8876462780DB969E5C4D81FD', '6C216D1786B34105ACCBA4DD8612A0CE', '5F3C04DF603F409A875C294910BD3491', 'B48852CB1AE641288F037EB59F968328', 'AA90B7900AD04E87A890BA2E2604A6D9', 'www.your-it-service.com');
asier@1929
   257
          DELETE FROM AD_REGISTRATION_INFO;
asier@1929
   258
          INSERT INTO AD_REGISTRATION_INFO(AD_REGISTRATION_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY)
asier@1929
   259
          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0');
asier@1929
   260
          CALL AD_UPDATE_ACCESS();
antonio@5078
   261
          SELECT AD_DB_MODIFIED('Y') FROM DUAL;
antonio@2025
   262
          UPDATE AD_MODULE SET ISINDEVELOPMENT='N', ISDEFAULT='N', SEQNO=NULL, STATUS='P', UPDATE_AVAILABLE=NULL, ISREGISTERED='N' WHERE STATUS IS NULL OR STATUS='I';
asier@4120
   263
          CALL AD_LANGUAGE_CREATE(NULL);
asier@1929
   264
        </transaction>
asier@1929
   265
    </sql>
antonio@2911
   266
    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true" delimitertype="row">
antonio@2911
   267
      <classpath>
antonio@2911
   268
        <fileset dir="${base.lib}">
antonio@2911
   269
          <include name="**/*.jar">
antonio@2911
   270
          </include>
antonio@2911
   271
        </fileset>
antonio@2911
   272
      </classpath>
antonio@2911
   273
      <transaction>
antonio@2911
   274
          BEGIN
antonio@2911
   275
            DBMS_STATS.gather_schema_stats (ownname => UPPER('${bbdd.user}'), estimate_percent => DBMS_STATS.AUTO_SAMPLE_SIZE, cascade =>TRUE);
antonio@2911
   276
          END;
antonio@2911
   277
        </transaction>
antonio@2911
   278
    </sql>
asier@1929
   279
  </target>
asier@1929
   280
asier@1929
   281
  <target name="database.postcreate.POSTGRE">
antonio@3145
   282
    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="abort" autocommit="true">
martin@2869
   283
      <classpath>
martin@2869
   284
        <fileset dir="${base.lib}">
martin@2869
   285
          <include name="**/*.jar">
martin@2869
   286
          </include>
martin@2869
   287
        </fileset>
martin@2869
   288
      </classpath>
martin@2869
   289
      <transaction>
asier@1929
   290
          DELETE FROM AD_SYSTEM;
asier@1929
   291
          INSERT INTO AD_SYSTEM (AD_SYSTEM_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, NAME, TAD_RECORDRANGE, TAD_RECORDRANGE_INFO, TAD_TRANSACTIONALRANGE, TAD_THEME)
asier@10182
   292
          VALUES ('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '?', 20, 100, 1, 
asier@10182
   293
		          (SELECT Value FROM AD_Ref_List 
asier@10182
   294
                    WHERE AD_Ref_List_ID in ('800247', '27F0D1235450423C814D3A0DCABA7D10')
asier@10182
   295
                    ORDER BY (CASE WHEN Name ='Default' THEN 2 ELSE 1 END)
asier@10182
   296
                    LIMIT 1));
asier@1929
   297
          DELETE FROM AD_SYSTEM_INFO;
stefan@20711
   298
          INSERT INTO AD_SYSTEM_INFO(AD_SYSTEM_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY, ANT_VERSION, OB_INSTALLMODE, CODE_REVISION, MATURITY_UPDATE, MATURITY_SEARCH,
stefan@20711
   299
                your_company_login_image, your_it_service_login_image, your_company_menu_image, your_company_big_image, your_company_document_image, support_contact)
stefan@20711
   300
          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0', '${ant.version}', 'From Sources', SUBSTR('${code.revision}',1,60), '200', '200',
stefan@20711
   301
                '37B37B6A8876462780DB969E5C4D81FD', '6C216D1786B34105ACCBA4DD8612A0CE', '5F3C04DF603F409A875C294910BD3491', 'B48852CB1AE641288F037EB59F968328', 'AA90B7900AD04E87A890BA2E2604A6D9', 'www.your-it-service.com');
asier@1929
   302
          DELETE FROM AD_REGISTRATION_INFO;
asier@1929
   303
          INSERT INTO AD_REGISTRATION_INFO(AD_REGISTRATION_INFO_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED, CREATEDBY, UPDATED, UPDATEDBY)
asier@1929
   304
          VALUES('0', '0', '0', 'Y', NOW(), '0', NOW(), '0');
asier@1929
   305
          SELECT AD_UPDATE_ACCESS();
antonio@5076
   306
          SELECT AD_DB_MODIFIED('Y');
antonio@2025
   307
          UPDATE AD_MODULE SET ISINDEVELOPMENT='N', ISDEFAULT='N', SEQNO=NULL, STATUS='P', UPDATE_AVAILABLE=NULL, ISREGISTERED='N' WHERE STATUS IS NULL OR STATUS='I';
asier@4120
   308
          SELECT AD_LANGUAGE_CREATE(NULL);
antonio@2911
   309
          ANALYZE;
asier@1929
   310
        </transaction>
asier@1929
   311
    </sql>
asier@1929
   312
  </target>
asier@1929
   313
antonio@3785
   314
  <target name="database.postcreate.DB2">
antonio@3785
   315
  </target>
antonio@3785
   316
  
asier@1929
   317
  <target name="database.preimport.ORACLE">
asier@1929
   318
  </target>
asier@1929
   319
  <target name="database.postimport.ORACLE">
asier@1929
   320
  </target>
asier@1929
   321
  <target name="database.preimport.POSTGRE">
asier@1929
   322
  </target>
asier@1929
   323
  <target name="database.postimport.POSTGRE">
asier@1929
   324
  </target>
antonio@3785
   325
  <target name="database.preimport.DB2">
antonio@3785
   326
  </target>
antonio@3785
   327
  <target name="database.postimport.DB2">
antonio@3785
   328
  </target>
asier@1929
   329
  <target name="database.poststructure.ORACLE">
martin@2869
   330
    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
martin@2869
   331
      <classpath>
martin@2869
   332
        <fileset dir="${base.lib}">
martin@2869
   333
          <include name="**/*.jar">
martin@2869
   334
          </include>
martin@2869
   335
        </fileset>
martin@2869
   336
      </classpath>
martin@2869
   337
      <transaction>
asier@1929
   338
            PURGE RECYCLEBIN;
asier@1929
   339
        </transaction>
asier@1929
   340
    </sql>
asier@1929
   341
  </target>
asier@1929
   342
  <target name="database.poststructure.POSTGRE">
asier@1929
   343
  </target>
antonio@3785
   344
  <target name="database.poststructure.DB2">
antonio@3785
   345
  </target>
asier@1929
   346
antonio@2824
   347
  <target name="update.dbupdate.timestamp">
martin@2869
   348
    <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
martin@2869
   349
      <classpath>
martin@2869
   350
        <fileset dir="${base.lib}">
martin@2869
   351
          <include name="**/*.jar">
martin@2869
   352
          </include>
martin@2869
   353
        </fileset>
martin@2869
   354
      </classpath>
martin@2869
   355
      <transaction>
antonio@2824
   356
          UPDATE AD_SYSTEM_INFO SET LAST_DBUPDATE=NOW()
antonio@2824
   357
        </transaction>
martin@2869
   358
    </sql>
martin@2869
   359
  </target>
asier@1929
   360
</project>