2019-09-17 16:25:52,993 INFO [startup] [AbstractCommandLauncher] [main] Option: name=port, value={7070} 2019-09-17 16:25:53,370 INFO [startup] [SymmetricUtils] [main] _____ __ _ ____ _____ / ___/ __ _____ __ ___ __ ___ _/ /_ ____(_)___ / __ | / ___/ \__ \ / / / / _ `_ \/ _ `_ \/ _ \/_ __// __/ / __/ / / / / \__ \ ___/ // /_/ / // // / // // / __// / / / / / /_ / /_/ / ___/ / /____/ \__ /_//_//_/_//_//_/\___/ \_/ /_/ /_/\__/ /_____/ /____/ /____/ +-----------------------------------------------------------------+ | Copyright (C) 2007-2019 JumpMind, Inc. | | | | Licensed under the GNU General Public License version 3. | | This software comes with ABSOLUTELY NO WARRANTY. | | See http://www.gnu.org/licenses/gpl.html | +-----------------------------------------------------------------+ 2019-09-17 16:25:53,442 INFO [startup] [SymmetricWebServer] [main] About to start SymmetricDS web server on host:port 0.0.0.0:7070 2019-09-17 16:25:54,432 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Initializing connection to database 2019-09-17 16:25:54,487 INFO [sunclient-001] [BasicDataSourceFactory] [symmetric-engine-startup-1] Setting required database connection property columnLabelForName=true 2019-09-17 16:25:54,625 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:25:54,785 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:25:54,797 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:25:54,809 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:25:54,820 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:25:54,832 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:25:55,034 INFO [sunclient-001] [JdbcDatabasePlatformFactory] [symmetric-engine-startup-1] Detected database 'Firebird 2.5', version '2', protocol 'firebirdsql' 2019-09-17 16:25:55,072 INFO [sunclient-001] [JdbcDatabasePlatformFactory] [symmetric-engine-startup-1] The IDatabasePlatform being used is org.jumpmind.db.platform.firebird.FirebirdDatabasePlatform 2019-09-17 16:25:55,249 INFO [sunclient-001] [Firebird21SymmetricDialect] [symmetric-engine-startup-1] The DbDialect being used is org.jumpmind.symmetric.db.firebird.Firebird21SymmetricDialect 2019-09-17 16:25:55,318 INFO [sunclient-001] [ExtensionService] [symmetric-engine-startup-1] Found 0 extension points from the database that will be registered 2019-09-17 16:25:55,328 INFO [sunclient-001] [StagingManager] [symmetric-engine-startup-1] The staging directory was initialized at the following location: F:\symmetric-server-3.10.4\sunClient\tmp\sunclient-001 2019-09-17 16:25:56,205 INFO [sunclient-001] [ExtensionService] [symmetric-engine-startup-1] Found 0 extension points from the database that will be registered 2019-09-17 16:25:56,206 INFO [sunclient-001] [ClientExtensionService] [symmetric-engine-startup-1] Found 7 extension points from spring that will be registered 2019-09-17 16:25:56,221 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Initializing SymmetricDS database 2019-09-17 16:25:56,222 INFO [sunclient-001] [Firebird21SymmetricDialect] [symmetric-engine-startup-1] Checking if SymmetricDS tables need created or altered 2019-09-17 16:25:56,578 INFO [startup] [SymmetricWebServer] [main] Starting JMX HTTP console on port 7071 2019-09-17 16:25:56,612 INFO [startup] [SymmetricWebServer] [main] Joining the web server main thread 2019-09-17 16:25:57,578 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Done initializing SymmetricDS database 2019-09-17 16:25:57,579 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] SymmetricDS database version : 3.10.4 2019-09-17 16:25:57,579 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] SymmetricDS software version : 3.10.4 2019-09-17 16:25:57,607 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Starting registered node [group=sunclient, id=001, nodeId=001] 2019-09-17 16:25:57,610 INFO [sunclient-001] [ClusterService] [symmetric-engine-startup-1] This node picked a server id of HNCHECK 2019-09-17 16:25:57,610 INFO [sunclient-001] [TriggerRouterService] [symmetric-engine-startup-1] Synchronizing triggers 2019-09-17 16:25:59,400 INFO [sunclient-001] [TriggerRouterService] [symmetric-engine-startup-1] Done synchronizing triggers 2019-09-17 16:25:59,424 INFO [sunclient-001] [RouterJob] [symmetric-engine-startup-1] Starting Routing on periodic schedule: every 5000ms with the first run at Tue Sep 17 16:26:06 GMT+08:00 2019 2019-09-17 16:25:59,427 INFO [sunclient-001] [PushJob] [symmetric-engine-startup-1] Starting Push on periodic schedule: every 10000ms with the first run at Tue Sep 17 16:26:06 GMT+08:00 2019 2019-09-17 16:25:59,428 INFO [sunclient-001] [PullJob] [symmetric-engine-startup-1] Starting Pull on periodic schedule: every 10000ms with the first run at Tue Sep 17 16:26:06 GMT+08:00 2019 2019-09-17 16:25:59,429 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Offline Push not configured for auto start 2019-09-17 16:25:59,429 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Offline Pull not configured for auto start 2019-09-17 16:25:59,433 INFO [sunclient-001] [OutgoingPurgeJob] [symmetric-engine-startup-1] Starting job 'Purge Outgoing' with cron expression: '0 0 */4 * * *' 2019-09-17 16:25:59,435 INFO [sunclient-001] [IncomingPurgeJob] [symmetric-engine-startup-1] Starting job 'Purge Incoming' with cron expression: '0 0 */4 * * *' 2019-09-17 16:25:59,436 INFO [sunclient-001] [StatisticFlushJob] [symmetric-engine-startup-1] Starting job 'Stat Flush' with cron expression: '0 0/5 * * * *' 2019-09-17 16:25:59,437 INFO [sunclient-001] [SyncTriggersJob] [symmetric-engine-startup-1] Starting job 'SyncTriggers' with cron expression: '0 0 0 * * *' 2019-09-17 16:25:59,438 INFO [sunclient-001] [HeartbeatJob] [symmetric-engine-startup-1] Starting Heartbeat on periodic schedule: every 900000ms with the first run at Tue Sep 17 16:26:06 GMT+08:00 2019 2019-09-17 16:25:59,439 INFO [sunclient-001] [WatchdogJob] [symmetric-engine-startup-1] Starting Watchdog on periodic schedule: every 3600000ms with the first run at Tue Sep 17 16:26:06 GMT+08:00 2019 2019-09-17 16:25:59,440 INFO [sunclient-001] [StageManagementJob] [symmetric-engine-startup-1] Starting job 'Stage Management' with cron expression: '0 0 * * * *' 2019-09-17 16:25:59,441 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Refresh Cache not configured for auto start 2019-09-17 16:25:59,441 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job File Sync Tracker not configured for auto start 2019-09-17 16:25:59,442 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job File Sync Pull not configured for auto start 2019-09-17 16:25:59,443 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job File Sync Push not configured for auto start 2019-09-17 16:25:59,445 INFO [sunclient-001] [InitialLoadExtractorJob] [symmetric-engine-startup-1] Starting Initial Load Extract on periodic schedule: every 10000ms with the first run at Tue Sep 17 16:26:06 GMT+08:00 2019 2019-09-17 16:25:59,446 INFO [sunclient-001] [MonitorJob] [symmetric-engine-startup-1] Starting Monitor on periodic schedule: every 60000ms with the first run at Tue Sep 17 16:26:06 GMT+08:00 2019 2019-09-17 16:25:59,447 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Report Status not configured for auto start 2019-09-17 16:25:59,452 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] SymmetricDS Node STARTED: nodeId=001 groupId=sunclient type=server subType=null name=sunclient-001 softwareVersion=3.10.4 databaseName=Firebird 2.5 databaseVersion=2.5 driverName=Jaybird JCA/JDBC driver driverVersion=3.0 uptime=0 sec. 2019-09-17 16:26:05,102 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-1] Retrying batch 000-7 2019-09-17 16:26:05,122 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-1] About to create table using the following definition:
2019-09-17 16:26:05,200 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-1] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:26:05,287 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-1] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:26:05,290 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-1] Failed to alter table using the following xml:
StackTraceKey.init [SqlException:3999540166] org.jumpmind.db.sql.SqlException: unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351] at org.jumpmind.db.sql.AbstractSqlTemplate.translate(AbstractSqlTemplate.java:302) at org.jumpmind.db.platform.firebird.FirebirdJdbcSqlTemplate.translate(FirebirdJdbcSqlTemplate.java:62) at org.jumpmind.db.sql.AbstractSqlTemplate.translate(AbstractSqlTemplate.java:291) at org.jumpmind.db.sql.JdbcSqlTemplate.execute(JdbcSqlTemplate.java:514) at org.jumpmind.db.sql.JdbcSqlTemplate.update(JdbcSqlTemplate.java:422) at org.jumpmind.db.sql.SqlScript.execute(SqlScript.java:114) at org.jumpmind.db.platform.AbstractDatabasePlatform.alterTables(AbstractDatabasePlatform.java:240) at org.jumpmind.db.platform.AbstractDatabasePlatform.alterDatabase(AbstractDatabasePlatform.java:213) at org.jumpmind.symmetric.io.data.writer.DefaultDatabaseWriter.create(DefaultDatabaseWriter.java:563) at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriter.write(AbstractDatabaseWriter.java:204) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.model.ProcessInfoDataWriter.write(ProcessInfoDataWriter.java:84) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:201) at org.jumpmind.symmetric.io.data.DataProcessor.forEachDataInTable(DataProcessor.java:212) at org.jumpmind.symmetric.io.data.DataProcessor.forEachTableInBatch(DataProcessor.java:178) at org.jumpmind.symmetric.io.data.DataProcessor.process(DataProcessor.java:124) at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1079) at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1056) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.sql.SQLSyntaxErrorException: unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351] at org.firebirdsql.gds.ng.FbExceptionBuilder$Type$1.createSQLException(FbExceptionBuilder.java:527) at org.firebirdsql.gds.ng.FbExceptionBuilder.toFlatSQLException(FbExceptionBuilder.java:302) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.readStatusVector(AbstractWireOperations.java:138) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.processOperation(AbstractWireOperations.java:202) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.readSingleResponse(AbstractWireOperations.java:169) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.readResponse(AbstractWireOperations.java:153) at org.firebirdsql.gds.ng.wire.AbstractFbWireDatabase.readResponse(AbstractFbWireDatabase.java:183) at org.firebirdsql.gds.ng.wire.version10.V10Statement.execute(V10Statement.java:326) at org.firebirdsql.jdbc.FBStatement.internalExecute(FBStatement.java:1355) at org.firebirdsql.jdbc.FBStatement.executeImpl(FBStatement.java:840) at org.firebirdsql.jdbc.FBStatement.execute(FBStatement.java:826) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.jumpmind.db.sql.JdbcSqlTemplate$6.execute(JdbcSqlTemplate.java:437) at org.jumpmind.db.sql.JdbcSqlTemplate$6.execute(JdbcSqlTemplate.java:422) at org.jumpmind.db.sql.JdbcSqlTemplate.execute(JdbcSqlTemplate.java:512) ... 19 more Caused by: org.firebirdsql.jdbc.FBSQLExceptionInfo: unsuccessful metadata update 2019-09-17 16:26:05,323 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-1] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:26:05,349 INFO [sunclient-001] [ConfigurationChangedDatabaseWriterFilter] [qtp10904818-13] About to syncTriggers because new configuration came through the data loader 2019-09-17 16:26:05,349 INFO [sunclient-001] [TriggerRouterService] [qtp10904818-13] Synchronizing triggers 2019-09-17 16:26:07,015 WARN [sunclient-001] [FBManagedConnection] [sunclient-001-job-3] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:26:07,028 INFO [sunclient-001] [NodeCommunicationService] [sunclient-001-job-2] push will use 10 threads 2019-09-17 16:26:07,054 INFO [sunclient-001] [NodeCommunicationService] [sunclient-001-job-3] pull will use 10 threads 2019-09-17 16:26:07,054 INFO [sunclient-001] [DataGapFastDetector] [sunclient-001-job-1] Full gap analysis is running 2019-09-17 16:26:07,064 INFO [sunclient-001] [DataGapFastDetector] [sunclient-001-job-1] Querying data in gaps from database took 8 ms 2019-09-17 16:26:07,064 INFO [sunclient-001] [DataGapFastDetector] [sunclient-001-job-1] Full gap analysis is done after 9 ms 2019-09-17 16:26:07,165 INFO [sunclient-001] [RouterService] [sunclient-001-job-1] Routed 1 data events in 111 ms 2019-09-17 16:26:07,526 INFO [sunclient-001] [TriggerRouterService] [qtp10904818-13] Done synchronizing triggers 2019-09-17 16:26:07,527 INFO [sunclient-001] [DataLoaderService] [qtp10904818-13] 3 data and 3 batches loaded during push request from sunserver:000:000. There were 1 batches in error 2019-09-17 16:26:12,228 INFO [sunclient-001] [RouterService] [sunclient-001-job-10] Routed 1 data events in 52 ms 2019-09-17 16:26:13,243 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-2] Retrying batch 000-7 2019-09-17 16:26:13,258 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-2] About to create table using the following definition:
2019-09-17 16:26:13,309 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-2] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:26:13,394 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-2] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:26:13,396 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-2] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:26:13,423 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-2] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:26:13,445 INFO [sunclient-001] [DataLoaderService] [qtp10904818-9] 2 data and 2 batches loaded during push request from sunserver:000:000. There were 1 batches in error 2019-09-17 16:26:17,358 INFO [sunclient-001] [PushService] [sunclient-001-push-default-2] Push data sent to sunserver:000:000 2019-09-17 16:26:17,527 INFO [sunclient-001] [PushService] [sunclient-001-push-default-2] Pushed data to node sunserver:000:000. 1 data and 1 batches were processed. (sym_node_host) 2019-09-17 16:26:23,269 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-3] Retrying batch 000-7 2019-09-17 16:26:23,287 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-3] About to create table using the following definition:
2019-09-17 16:26:23,351 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-3] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:26:23,435 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-3] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:26:23,436 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-3] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:26:23,465 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-3] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:29:37,630 INFO [startup] [AbstractCommandLauncher] [main] Option: name=port, value={7070} 2019-09-17 16:29:38,116 INFO [startup] [SymmetricUtils] [main] _____ __ _ ____ _____ / ___/ __ _____ __ ___ __ ___ _/ /_ ____(_)___ / __ | / ___/ \__ \ / / / / _ `_ \/ _ `_ \/ _ \/_ __// __/ / __/ / / / / \__ \ ___/ // /_/ / // // / // // / __// / / / / / /_ / /_/ / ___/ / /____/ \__ /_//_//_/_//_//_/\___/ \_/ /_/ /_/\__/ /_____/ /____/ /____/ +-----------------------------------------------------------------+ | Copyright (C) 2007-2019 JumpMind, Inc. | | | | Licensed under the GNU General Public License version 3. | | This software comes with ABSOLUTELY NO WARRANTY. | | See http://www.gnu.org/licenses/gpl.html | +-----------------------------------------------------------------+ 2019-09-17 16:29:38,220 INFO [startup] [SymmetricWebServer] [main] About to start SymmetricDS web server on host:port 0.0.0.0:7070 2019-09-17 16:29:39,020 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Initializing connection to database 2019-09-17 16:29:39,063 INFO [sunclient-001] [BasicDataSourceFactory] [symmetric-engine-startup-1] Setting required database connection property columnLabelForName=true 2019-09-17 16:29:39,161 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:29:39,275 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:29:39,286 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:29:39,309 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:29:39,321 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:29:39,333 WARN [sunclient-001] [FBManagedConnection] [symmetric-engine-startup-1] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:29:39,482 INFO [sunclient-001] [JdbcDatabasePlatformFactory] [symmetric-engine-startup-1] Detected database 'Firebird 2.5', version '2', protocol 'firebirdsql' 2019-09-17 16:29:39,506 INFO [sunclient-001] [JdbcDatabasePlatformFactory] [symmetric-engine-startup-1] The IDatabasePlatform being used is org.jumpmind.db.platform.firebird.FirebirdDatabasePlatform 2019-09-17 16:29:40,083 INFO [sunclient-001] [Firebird21SymmetricDialect] [symmetric-engine-startup-1] The DbDialect being used is org.jumpmind.symmetric.db.firebird.Firebird21SymmetricDialect 2019-09-17 16:29:40,176 INFO [sunclient-001] [ExtensionService] [symmetric-engine-startup-1] Found 0 extension points from the database that will be registered 2019-09-17 16:29:40,190 INFO [sunclient-001] [StagingManager] [symmetric-engine-startup-1] The staging directory was initialized at the following location: F:\symmetric-server-3.10.4\sunClient\tmp\sunclient-001 2019-09-17 16:29:41,464 INFO [sunclient-001] [ExtensionService] [symmetric-engine-startup-1] Found 0 extension points from the database that will be registered 2019-09-17 16:29:41,467 INFO [sunclient-001] [ClientExtensionService] [symmetric-engine-startup-1] Found 7 extension points from spring that will be registered 2019-09-17 16:29:41,501 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Initializing SymmetricDS database 2019-09-17 16:29:41,502 INFO [sunclient-001] [Firebird21SymmetricDialect] [symmetric-engine-startup-1] Checking if SymmetricDS tables need created or altered 2019-09-17 16:29:41,609 INFO [startup] [SymmetricWebServer] [main] Starting JMX HTTP console on port 7071 2019-09-17 16:29:41,646 INFO [startup] [SymmetricWebServer] [main] Joining the web server main thread 2019-09-17 16:29:42,868 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Done initializing SymmetricDS database 2019-09-17 16:29:42,869 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] SymmetricDS database version : 3.10.4 2019-09-17 16:29:42,870 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] SymmetricDS software version : 3.10.4 2019-09-17 16:29:42,894 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] Starting registered node [group=sunclient, id=001, nodeId=001] 2019-09-17 16:29:42,898 INFO [sunclient-001] [ClusterService] [symmetric-engine-startup-1] This node picked a server id of HNCHECK 2019-09-17 16:29:42,898 INFO [sunclient-001] [TriggerRouterService] [symmetric-engine-startup-1] Synchronizing triggers 2019-09-17 16:29:44,716 INFO [sunclient-001] [TriggerRouterService] [symmetric-engine-startup-1] Done synchronizing triggers 2019-09-17 16:29:44,749 INFO [sunclient-001] [RouterJob] [symmetric-engine-startup-1] Starting Routing on periodic schedule: every 5000ms with the first run at Tue Sep 17 16:29:52 GMT+08:00 2019 2019-09-17 16:29:44,753 INFO [sunclient-001] [PushJob] [symmetric-engine-startup-1] Starting Push on periodic schedule: every 10000ms with the first run at Tue Sep 17 16:29:52 GMT+08:00 2019 2019-09-17 16:29:44,754 INFO [sunclient-001] [PullJob] [symmetric-engine-startup-1] Starting Pull on periodic schedule: every 10000ms with the first run at Tue Sep 17 16:29:52 GMT+08:00 2019 2019-09-17 16:29:44,755 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Offline Push not configured for auto start 2019-09-17 16:29:44,755 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Offline Pull not configured for auto start 2019-09-17 16:29:44,760 INFO [sunclient-001] [OutgoingPurgeJob] [symmetric-engine-startup-1] Starting job 'Purge Outgoing' with cron expression: '0 0 */4 * * *' 2019-09-17 16:29:44,762 INFO [sunclient-001] [IncomingPurgeJob] [symmetric-engine-startup-1] Starting job 'Purge Incoming' with cron expression: '0 0 */4 * * *' 2019-09-17 16:29:44,763 INFO [sunclient-001] [StatisticFlushJob] [symmetric-engine-startup-1] Starting job 'Stat Flush' with cron expression: '0 0/5 * * * *' 2019-09-17 16:29:44,764 INFO [sunclient-001] [SyncTriggersJob] [symmetric-engine-startup-1] Starting job 'SyncTriggers' with cron expression: '0 0 0 * * *' 2019-09-17 16:29:44,765 INFO [sunclient-001] [HeartbeatJob] [symmetric-engine-startup-1] Starting Heartbeat on periodic schedule: every 900000ms with the first run at Tue Sep 17 16:29:52 GMT+08:00 2019 2019-09-17 16:29:44,766 INFO [sunclient-001] [WatchdogJob] [symmetric-engine-startup-1] Starting Watchdog on periodic schedule: every 3600000ms with the first run at Tue Sep 17 16:29:52 GMT+08:00 2019 2019-09-17 16:29:44,767 INFO [sunclient-001] [StageManagementJob] [symmetric-engine-startup-1] Starting job 'Stage Management' with cron expression: '0 0 * * * *' 2019-09-17 16:29:44,768 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Refresh Cache not configured for auto start 2019-09-17 16:29:44,769 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job File Sync Tracker not configured for auto start 2019-09-17 16:29:44,770 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job File Sync Pull not configured for auto start 2019-09-17 16:29:44,771 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job File Sync Push not configured for auto start 2019-09-17 16:29:44,772 INFO [sunclient-001] [InitialLoadExtractorJob] [symmetric-engine-startup-1] Starting Initial Load Extract on periodic schedule: every 10000ms with the first run at Tue Sep 17 16:29:52 GMT+08:00 2019 2019-09-17 16:29:44,775 INFO [sunclient-001] [MonitorJob] [symmetric-engine-startup-1] Starting Monitor on periodic schedule: every 60000ms with the first run at Tue Sep 17 16:29:52 GMT+08:00 2019 2019-09-17 16:29:44,776 INFO [sunclient-001] [JobManager] [symmetric-engine-startup-1] Job Report Status not configured for auto start 2019-09-17 16:29:44,783 INFO [sunclient-001] [AbstractSymmetricEngine] [symmetric-engine-startup-1] SymmetricDS Node STARTED: nodeId=001 groupId=sunclient type=server subType=null name=sunclient-001 softwareVersion=3.10.4 databaseName=Firebird 2.5 databaseVersion=2.5 driverName=Jaybird JCA/JDBC driver driverVersion=3.0 uptime=0 sec. 2019-09-17 16:29:52,139 INFO [sunclient-001] [NodeCommunicationService] [sunclient-001-job-3] pull will use 10 threads 2019-09-17 16:29:52,151 INFO [sunclient-001] [NodeCommunicationService] [sunclient-001-job-2] push will use 10 threads 2019-09-17 16:29:52,165 INFO [sunclient-001] [DataGapFastDetector] [sunclient-001-job-1] Full gap analysis is running 2019-09-17 16:29:52,177 INFO [sunclient-001] [DataGapFastDetector] [sunclient-001-job-1] Querying data in gaps from database took 7 ms 2019-09-17 16:29:52,178 INFO [sunclient-001] [DataGapFastDetector] [sunclient-001-job-1] Full gap analysis is done after 8 ms 2019-09-17 16:29:57,290 INFO [sunclient-001] [RouterService] [sunclient-001-job-9] Routed 1 data events in 97 ms 2019-09-17 16:30:02,414 INFO [sunclient-001] [PushService] [sunclient-001-push-default-2] Push data sent to sunserver:000:000 2019-09-17 16:30:02,569 INFO [sunclient-001] [PushService] [sunclient-001-push-default-2] Pushed data to node sunserver:000:000. 1 data and 1 batches were processed. (sym_node_host) 2019-09-17 16:30:03,518 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-1] Retrying batch 000-7 2019-09-17 16:30:03,556 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-1] About to create table using the following definition:
2019-09-17 16:30:03,695 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-1] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:30:03,841 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-1] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:30:03,845 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-1] Failed to alter table using the following xml:
StackTraceKey.init [SqlException:3999540166] org.jumpmind.db.sql.SqlException: unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351] at org.jumpmind.db.sql.AbstractSqlTemplate.translate(AbstractSqlTemplate.java:302) at org.jumpmind.db.platform.firebird.FirebirdJdbcSqlTemplate.translate(FirebirdJdbcSqlTemplate.java:62) at org.jumpmind.db.sql.AbstractSqlTemplate.translate(AbstractSqlTemplate.java:291) at org.jumpmind.db.sql.JdbcSqlTemplate.execute(JdbcSqlTemplate.java:514) at org.jumpmind.db.sql.JdbcSqlTemplate.update(JdbcSqlTemplate.java:422) at org.jumpmind.db.sql.SqlScript.execute(SqlScript.java:114) at org.jumpmind.db.platform.AbstractDatabasePlatform.alterTables(AbstractDatabasePlatform.java:240) at org.jumpmind.db.platform.AbstractDatabasePlatform.alterDatabase(AbstractDatabasePlatform.java:213) at org.jumpmind.symmetric.io.data.writer.DefaultDatabaseWriter.create(DefaultDatabaseWriter.java:563) at org.jumpmind.symmetric.io.data.writer.AbstractDatabaseWriter.write(AbstractDatabaseWriter.java:204) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.model.ProcessInfoDataWriter.write(ProcessInfoDataWriter.java:84) at org.jumpmind.symmetric.io.data.writer.NestedDataWriter.write(NestedDataWriter.java:64) at org.jumpmind.symmetric.io.data.writer.TransformWriter.write(TransformWriter.java:201) at org.jumpmind.symmetric.io.data.DataProcessor.forEachDataInTable(DataProcessor.java:212) at org.jumpmind.symmetric.io.data.DataProcessor.forEachTableInBatch(DataProcessor.java:178) at org.jumpmind.symmetric.io.data.DataProcessor.process(DataProcessor.java:124) at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1079) at org.jumpmind.symmetric.service.impl.DataLoaderService$LoadIntoDatabaseOnArrivalListener$2.call(DataLoaderService.java:1056) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.sql.SQLSyntaxErrorException: unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351] at org.firebirdsql.gds.ng.FbExceptionBuilder$Type$1.createSQLException(FbExceptionBuilder.java:527) at org.firebirdsql.gds.ng.FbExceptionBuilder.toFlatSQLException(FbExceptionBuilder.java:302) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.readStatusVector(AbstractWireOperations.java:138) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.processOperation(AbstractWireOperations.java:202) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.readSingleResponse(AbstractWireOperations.java:169) at org.firebirdsql.gds.ng.wire.AbstractWireOperations.readResponse(AbstractWireOperations.java:153) at org.firebirdsql.gds.ng.wire.AbstractFbWireDatabase.readResponse(AbstractFbWireDatabase.java:183) at org.firebirdsql.gds.ng.wire.version10.V10Statement.execute(V10Statement.java:326) at org.firebirdsql.jdbc.FBStatement.internalExecute(FBStatement.java:1355) at org.firebirdsql.jdbc.FBStatement.executeImpl(FBStatement.java:840) at org.firebirdsql.jdbc.FBStatement.execute(FBStatement.java:826) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.jumpmind.db.sql.JdbcSqlTemplate$6.execute(JdbcSqlTemplate.java:437) at org.jumpmind.db.sql.JdbcSqlTemplate$6.execute(JdbcSqlTemplate.java:422) at org.jumpmind.db.sql.JdbcSqlTemplate.execute(JdbcSqlTemplate.java:512) ... 19 more Caused by: org.firebirdsql.jdbc.FBSQLExceptionInfo: unsuccessful metadata update 2019-09-17 16:30:03,889 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-1] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:03,925 INFO [sunclient-001] [ConfigurationChangedDatabaseWriterFilter] [qtp10904818-13] About to syncTriggers because new configuration came through the data loader 2019-09-17 16:30:03,926 INFO [sunclient-001] [TriggerRouterService] [qtp10904818-13] Synchronizing triggers 2019-09-17 16:30:05,451 INFO [sunclient-001] [TriggerRouterService] [qtp10904818-13] Done synchronizing triggers 2019-09-17 16:30:05,452 INFO [sunclient-001] [DataLoaderService] [qtp10904818-13] 3 data and 3 batches loaded during push request from sunserver:000:000. There were 1 batches in error 2019-09-17 16:30:07,383 INFO [sunclient-001] [RouterService] [sunclient-001-job-13] Routed 1 data events in 70 ms 2019-09-17 16:30:11,899 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-2] Retrying batch 000-7 2019-09-17 16:30:11,916 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-2] About to create table using the following definition:
2019-09-17 16:30:11,974 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-2] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:30:12,061 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-2] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:30:12,064 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-2] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:12,095 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-2] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:12,120 INFO [sunclient-001] [DataLoaderService] [qtp10904818-16] 2 data and 2 batches loaded during push request from sunserver:000:000. There were 1 batches in error 2019-09-17 16:30:21,706 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-3] Retrying batch 000-7 2019-09-17 16:30:21,723 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-3] About to create table using the following definition:
2019-09-17 16:30:21,775 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-3] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:30:21,862 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-3] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:30:21,864 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-3] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:21,889 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-3] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:31,770 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-4] Retrying batch 000-7 2019-09-17 16:30:31,790 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-4] About to create table using the following definition:
2019-09-17 16:30:31,876 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-4] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:30:32,010 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-4] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:30:32,014 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-4] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:32,048 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-4] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:32,086 INFO [sunclient-001] [DataLoaderService] [qtp10904818-16] 2 data and 2 batches loaded during push request from sunserver:000:000. There were 1 batches in error 2019-09-17 16:30:41,601 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-5] Retrying batch 000-7 2019-09-17 16:30:41,620 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-5] About to create table using the following definition:
2019-09-17 16:30:41,679 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-5] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:30:41,777 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-5] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:30:41,780 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-5] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:41,807 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-5] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:51,594 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-6] Retrying batch 000-7 2019-09-17 16:30:51,609 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-6] About to create table using the following definition:
2019-09-17 16:30:51,663 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-6] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:30:51,754 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-6] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:30:51,756 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-6] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:30:51,781 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-6] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:01,646 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-7] Retrying batch 000-7 2019-09-17 16:31:01,663 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-7] About to create table using the following definition:
2019-09-17 16:31:01,715 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-7] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:31:01,818 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-7] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:31:01,820 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-7] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:01,848 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-7] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:11,583 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-8] Retrying batch 000-7 2019-09-17 16:31:11,597 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-8] About to create table using the following definition:
2019-09-17 16:31:11,656 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-8] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:31:11,750 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-8] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:31:11,752 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-8] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:11,777 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-8] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:21,604 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-9] Retrying batch 000-7 2019-09-17 16:31:21,624 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-9] About to create table using the following definition:
2019-09-17 16:31:21,679 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-9] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:31:21,775 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-9] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:31:21,777 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-9] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:21,801 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-9] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:31,627 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-10] Retrying batch 000-7 2019-09-17 16:31:31,645 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-10] About to create table using the following definition:
2019-09-17 16:31:31,752 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-10] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:31:31,876 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-10] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:31:31,878 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-10] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:31,905 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-10] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:42,044 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-11] Retrying batch 000-7 2019-09-17 16:31:42,063 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-11] About to create table using the following definition:
2019-09-17 16:31:42,119 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-11] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:31:42,208 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-11] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:31:42,212 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-11] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:42,237 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-11] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:51,626 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-12] Retrying batch 000-7 2019-09-17 16:31:51,645 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-12] About to create table using the following definition:
2019-09-17 16:31:51,733 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-12] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:31:51,896 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-12] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:31:51,898 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-12] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:31:51,930 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-12] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:01,604 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-13] Retrying batch 000-7 2019-09-17 16:32:01,622 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-13] About to create table using the following definition:
2019-09-17 16:32:01,680 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-13] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:32:01,775 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-13] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:32:01,778 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-13] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:01,805 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-13] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:11,641 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-14] Retrying batch 000-7 2019-09-17 16:32:11,660 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-14] About to create table using the following definition:
2019-09-17 16:32:11,714 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-14] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:32:11,800 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-14] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:32:11,803 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-14] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:11,828 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-14] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:21,763 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-15] Retrying batch 000-7 2019-09-17 16:32:21,782 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-15] About to create table using the following definition:
2019-09-17 16:32:21,852 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-15] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:32:22,062 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-15] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:32:22,064 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-15] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:22,094 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-15] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:31,673 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-16] Retrying batch 000-7 2019-09-17 16:32:31,696 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-16] About to create table using the following definition:
2019-09-17 16:32:31,781 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-16] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:32:31,937 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-16] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:32:31,939 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-16] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:31,972 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-16] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:41,617 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-17] Retrying batch 000-7 2019-09-17 16:32:41,633 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-17] About to create table using the following definition:
2019-09-17 16:32:41,695 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-17] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:32:41,795 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-17] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:32:41,797 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-17] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:41,824 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-17] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:51,605 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-18] Retrying batch 000-7 2019-09-17 16:32:51,625 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-18] About to create table using the following definition:
2019-09-17 16:32:51,687 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-18] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:32:51,779 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-18] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:32:51,781 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-18] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:51,810 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-18] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:32:53,084 INFO [sunclient-001] [RouterService] [sunclient-001-job-8] The 'Hgq_info' channel is in common batch mode 2019-09-17 16:32:53,085 INFO [sunclient-001] [RouterService] [sunclient-001-job-8] The 'Hgq_info' channel for the 'sunclient' node group has only default routers assigned to it. Change data won't be selected during routing 2019-09-17 16:32:53,111 INFO [sunclient-001] [RouterService] [sunclient-001-job-8] Routed 1 data events in 30 ms 2019-09-17 16:33:01,614 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-19] Retrying batch 000-7 2019-09-17 16:33:01,628 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-19] About to create table using the following definition:
2019-09-17 16:33:01,682 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-19] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:33:01,773 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-19] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:33:01,775 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-19] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:01,807 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-19] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:02,273 INFO [sunclient-001] [PushService] [sunclient-001-push-default-10] Push data sent to sunserver:000:000 2019-09-17 16:33:02,335 INFO [sunclient-001] [PushService] [sunclient-001-push-default-10] Pushed data to node sunserver:000:000. 1 data and 1 batches were processed. (bom) 2019-09-17 16:33:11,608 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-20] Retrying batch 000-7 2019-09-17 16:33:11,625 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-20] About to create table using the following definition:
2019-09-17 16:33:11,676 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-20] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:33:11,772 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-20] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:33:11,774 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-20] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:11,801 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-20] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:21,627 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-21] Retrying batch 000-7 2019-09-17 16:33:21,643 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-21] About to create table using the following definition:
2019-09-17 16:33:21,696 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-21] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:33:21,788 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-21] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:33:21,790 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-21] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:21,817 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-21] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:31,627 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-22] Retrying batch 000-7 2019-09-17 16:33:31,645 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-22] About to create table using the following definition:
2019-09-17 16:33:31,700 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-22] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:33:31,805 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-22] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:33:31,808 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-22] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:31,833 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-22] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:39,121 WARN [sunclient-001] [FBManagedConnection] [Timer-0] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:33:39,161 WARN [sunclient-001] [FBManagedConnection] [Timer-0] WARNING: No connection character set specified (property lc_ctype, encoding, charSet or localEncoding), defaulting to character set NONE 2019-09-17 16:33:41,606 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-23] Retrying batch 000-7 2019-09-17 16:33:41,628 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-23] About to create table using the following definition:
2019-09-17 16:33:41,691 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-23] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:33:41,792 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-23] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:33:41,794 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-23] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:41,818 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-23] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:51,627 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-24] Retrying batch 000-7 2019-09-17 16:33:51,652 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-24] About to create table using the following definition:
2019-09-17 16:33:51,718 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-24] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:33:51,803 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-24] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:33:51,805 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-24] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:33:51,830 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-24] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:34:01,650 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-25] Retrying batch 000-7 2019-09-17 16:34:01,668 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-25] About to create table using the following definition:
2019-09-17 16:34:01,757 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-25] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:34:01,928 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-25] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:34:01,931 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-25] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:34:01,959 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-25] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:34:11,639 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-26] Retrying batch 000-7 2019-09-17 16:34:11,658 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-26] About to create table using the following definition:
2019-09-17 16:34:11,714 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-26] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:34:11,804 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-26] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:34:11,806 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-26] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:34:11,829 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-26] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166] 2019-09-17 16:34:21,617 INFO [sunclient-001] [IncomingBatchService] [sunclient-001-dataloader-27] Retrying batch 000-7 2019-09-17 16:34:21,635 INFO [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-27] About to create table using the following definition:
2019-09-17 16:34:21,693 INFO [sunclient-001] [FirebirdDatabasePlatform] [sunclient-001-dataloader-27] Running alter sql: DROP TABLE "BOM_"; CREATE TABLE "BOM_"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_HGQXH" VARCHAR(64) DEFAULT '' NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDRC" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_EDFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_XXFH" VARCHAR(12) DEFAULT '' NOT NULL, "BOM_JD" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_GLYS" VARCHAR(10) DEFAULT '' NOT NULL, "BOM_TCDZ" VARCHAR(8) DEFAULT '' NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) DEFAULT '' NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM_" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM"; DROP TABLE "BOM"; CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ); INSERT INTO "BOM" ("BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM") SELECT "BOM_ID","BOM_NAME","BOM_HGQXH","BOM_DATE","BOM_HGQCONFIG","BOM_EDYC","BOM_EDRC","BOM_EDFH","BOM_XXFH","BOM_JD","BOM_GLYS","BOM_TCDZ","BOM_CSZQ","BOM_ISWGJC","BOM_ISJYDZ","BOM_ISGPNY","BOM_ISTC","BOM_ISWCCS","BOM_ISZJ","BOM_ISCBH","BOM_COMPLATE","BOM_TASK_PRIO","BOM_EQUIP_QTY","BOM_PILE_QTY","BOM_ARRIVE_BATCH_NO","BOM_EQUIP_CATEG","BOM_SECURITYFACTOR","BOM_EXPANDCURRENT","BOM_ISRFIDJM" FROM "BOM_"; DROP TABLE "BOM_"; 2019-09-17 16:34:21,793 WARN [sunclient-001] [JdbcSqlTemplate] [sunclient-001-dataloader-27] unsuccessful metadata update; Table BOM already exists [SQLState:42000, ISC error code:335544351]. Failed to execute: CREATE TABLE "BOM"( "BOM_ID" INTEGER NOT NULL, "BOM_NAME" VARCHAR(32) NOT NULL, "BOM_HGQXH" VARCHAR(64) NOT NULL, "BOM_DATE" CHAR(20) DEFAULT '2012-01-01 12:12:55' NOT NULL, "BOM_HGQCONFIG" SMALLINT DEFAULT 1 NOT NULL, "BOM_EDYC" VARCHAR(12) NOT NULL, "BOM_EDRC" VARCHAR(12) NOT NULL, "BOM_EDFH" VARCHAR(12) NOT NULL, "BOM_XXFH" VARCHAR(12) NOT NULL, "BOM_JD" VARCHAR(10) NOT NULL, "BOM_GLYS" VARCHAR(10) NOT NULL, "BOM_TCDZ" VARCHAR(8) NOT NULL, "BOM_CSZQ" SMALLINT DEFAULT 4 NOT NULL, "BOM_ISWGJC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISJYDZ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISGPNY" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISTC" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISWCCS" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISZJ" SMALLINT DEFAULT 1 NOT NULL, "BOM_ISCBH" SMALLINT DEFAULT 1 NOT NULL, "BOM_COMPLATE" SMALLINT DEFAULT 0 NOT NULL, "BOM_TASK_PRIO" INTEGER DEFAULT 0 NOT NULL, "BOM_EQUIP_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_PILE_QTY" INTEGER DEFAULT 0 NOT NULL, "BOM_ARRIVE_BATCH_NO" VARCHAR(32) NOT NULL, "BOM_EQUIP_CATEG" INTEGER, "BOM_SECURITYFACTOR" VARCHAR(10) DEFAULT '5' NOT NULL, "BOM_EXPANDCURRENT" VARCHAR(10) DEFAULT '1.2', "BOM_ISRFIDJM" SMALLINT DEFAULT 1 NOT NULL, PRIMARY KEY ("BOM_ID") ) 2019-09-17 16:34:21,795 ERROR [sunclient-001] [DefaultDatabaseWriter] [sunclient-001-dataloader-27] Failed to alter table using the following xml:
StackTraceKey [SqlException:3999540166] 2019-09-17 16:34:21,821 ERROR [sunclient-001] [ManageIncomingBatchListener] [sunclient-001-dataloader-27] Failed to load batch 000-7 StackTraceKey [SqlException:3999540166]