Project

General

Profile

import.db.log

Sergey Ivanovskiy, 05/26/2025 06:01 AM

Download (25.4 KB)

 
1
Buildfile: /home/sbi/projects/hotel_gui/build.xml
2

    
3
dir.check:
4

    
5
check.fwd.dir:
6

    
7
init:
8

    
9
clean.db.h2:
10

    
11
create.db.h2:
12

    
13
import.db.h2:
14

    
15
clean.db.pg:
16

    
17
download-ant-contrib:
18

    
19
init-ant-contrib:
20

    
21
db.task:
22

    
23
clean.db.pg:
24

    
25
create.db.pg:
26

    
27
download-ant-contrib:
28

    
29
init-ant-contrib:
30

    
31
db.task:
32

    
33
create.db.pg:
34
     [exec] CREATE TABLE
35
     [exec] CREATE TABLE
36
     [exec] CREATE TABLE
37
     [exec] CREATE TABLE
38
     [exec] CREATE TABLE
39
     [exec] CREATE TABLE
40
     [exec] CREATE TABLE
41
     [exec] CREATE TABLE
42
     [exec] CREATE TABLE
43
     [exec] CREATE TABLE
44
     [exec] CREATE TABLE
45
     [exec] CREATE SEQUENCE
46

    
47
sql.udfs.pg:
48
     [java] Running script: [/udf/postgresql/udfs.sql]
49
     [java] Running script: [/udf/postgresql/words-udfs-sql.sql]
50
     [java] Running script: [/udf/postgresql/word-tables.sql]
51
     [java] Setting search_path for [hotel]
52

    
53
import.db.pg:
54

    
55
download-ant-contrib:
56

    
57
init-ant-contrib:
58

    
59
db.task:
60

    
61
import.db.pg:
62
     [java] Reflections took 124 ms to scan 2 urls, producing 10 keys and 24 values
63
     [java] Reflections took 36 ms to scan 2 urls, producing 5 keys and 7 values
64
     [java] Reflections took 30 ms to scan 2 urls, producing 8 keys and 10 values
65
     [java] Reflections took 17 ms to scan 2 urls, producing 10 keys and 29 values
66
     [java] Reflections took 163 ms to scan 2 urls, producing 255 keys and 1260 values
67
     [java] Reflections took 21 ms to scan 2 urls, producing 11 keys and 23 values
68
     [java] Reflections took 11 ms to scan 2 urls, producing 6 keys and 17 values
69
     [java] Reflections took 29 ms to scan 2 urls, producing 15 keys and 45 values
70
     [java] Reflections took 43 ms to scan 2 urls, producing 34 keys and 168 values
71
     [java] Reflections took 10 ms to scan 2 urls, producing 2 keys and 26 values
72
     [java] Reflections took 247 ms to scan 2 urls, producing 463 keys and 2174 values
73
     [java] Reflections took 143 ms to scan 2 urls, producing 354 keys and 1543 values
74
     [java] Reflections took 16 ms to scan 2 urls, producing 37 keys and 77 values
75
     [java] Reflections took 18 ms to scan 2 urls, producing 20 keys and 88 values
76
     [java] Using unnamed schema profile.
77
     [java] INFO:  Type match assertion disabled;  set "checkTypes" to true to enable
78
     [java] INFO:  Data export files will be read from 'data/dump/hotel/'
79
     [java] INFO:  Tenant import mode: none
80
     [java] INFO:  Using 4 threads for import with batch size of 200
81
     [java] ./cvt/data/hotel.p2o
82
     [java] MLog clients using slf4j logging.
83
     [java] Initializing c3p0-0.9.5.5 [built 11-December-2019 22:18:33 -0800; debug? true; trace: 10]
84
     [java] Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1hge145bb3bwibf14iktoq|bb6869a, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.postgresql.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1hge145bb3bwibf14iktoq|bb6869a, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql://localhost:5435/hotel, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> null, privilegeSpawnedThreads -> false, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
85
     [java] No databases provided for bootstrap.
86
     [java] Found identity generator sequence starting at 1.
87
     [java] IMPORT ORDER:
88
     [java] 	1) guest.d:20802.0 [10401 bytes]
89
     [java] 	2) stay.d:15508.0 [7754 bytes]
90
     [java] 	3) reservation.d:3532.0 [1766 bytes]
91
     [java] 	4) rate.d:2946.0 [1473 bytes]
92
     [java] 	5) room.d:1042.0 [521 bytes]
93
     [java] 	6) room-type.d:986.0 [493 bytes]
94
     [java] 	7) _user.d:496.0 [248 bytes]
95
     [java] 	8) service.d:484.0 [242 bytes]
96
     [java] 	9) guest-id-type.d:426.0 [213 bytes]
97
     [java] 	10) service-type.d:426.0 [213 bytes]
98
     [java] BEGIN guest.d (guest)
99
     [java] BEGIN reservation.d (reservation)
100
     [java] BEGIN stay.d (stay)
101
     [java] BEGIN rate.d (rate)
102
     [java] guest.d: SQL: drop index if exists idx__guest_stay_order
103
     [java] stay.d: SQL: drop index if exists idx__stay_stay_id
104
     [java] guest.d: SQL: create unique index idx__guest_stay_order on guest (stay_id, order_) include (recid)
105
     [java] rate.d: SQL: drop index if exists idx__rate_room_type_date
106
     [java] stay.d: SQL: create unique index idx__stay_stay_id on stay (stay_id) include (recid)
107
     [java] stay.d: Error processing import data; 0 of ? record(s) successfully processed;  0 record(s) uncommitted due to this error;  1 record(s) dropped. Cause: Error executeUpdate: ERROR: syntax error at or near "include"
108
     [java]   Position: 57
109
     [java] 
110
     [java] com.goldencode.p2j.persist.PersistenceException: Error executeUpdate: ERROR: syntax error at or near "include"
111
     [java]   Position: 57
112
     [java] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "include"
113
     [java]   Position: 57
114
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
115
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
116
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:371)
117
     [java] 	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:502)
118
     [java] 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:419)
119
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:194)
120
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:155)
121
     [java] 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1502)
122
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.executeImpl(SQLExecutor.java:354)
123
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:272)
124
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:226)
125
     [java] 	at com.goldencode.p2j.persist.orm.SQLQuery.executeUpdate(SQLQuery.java:621)
126
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndex(ImportWorker.java:2465)
127
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndexes(ImportWorker.java:2418)
128
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.importTable(ImportWorker.java:1334)
129
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.lambda$importAsync$4(ImportWorker.java:2173)
130
     [java] 	at java.lang.Thread.run(Thread.java:750)
131
     [java] 
132
     [java] END stay.d. 0 records imported into stay
133
     [java] 33.24473% complete:  0 recs in 0:00:01.212 (0/sec, 0/min, 0/hr)
134
     [java] BEGIN room.d (room)
135
     [java] guest.d: Error processing import data; 0 of ? record(s) successfully processed;  0 record(s) uncommitted due to this error;  1 record(s) dropped. Cause: Error executeUpdate: ERROR: syntax error at or near "include"
136
     [java]   Position: 70
137
     [java] 
138
     [java] com.goldencode.p2j.persist.PersistenceException: Error executeUpdate: ERROR: syntax error at or near "include"
139
     [java]   Position: 70
140
     [java] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "include"
141
     [java]   Position: 70
142
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
143
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
144
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:371)
145
     [java] 	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:502)
146
     [java] 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:419)
147
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:194)
148
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:155)
149
     [java] 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1502)
150
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.executeImpl(SQLExecutor.java:354)
151
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:272)
152
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:226)
153
     [java] 	at com.goldencode.p2j.persist.orm.SQLQuery.executeUpdate(SQLQuery.java:621)
154
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndex(ImportWorker.java:2465)
155
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndexes(ImportWorker.java:2418)
156
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.importTable(ImportWorker.java:1334)
157
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.lambda$importAsync$4(ImportWorker.java:2173)
158
     [java] 	at java.lang.Thread.run(Thread.java:750)
159
     [java] 
160
     [java] END guest.d. 0 records imported into guest
161
     [java] 77.83828% complete:  0 recs in 0:00:01.217 (0/sec, 0/min, 0/hr)
162
     [java] BEGIN room-type.d (room_type)
163
     [java] room-type.d: SQL: drop index if exists idx__room_type_type
164
     [java] reservation.d: SQL: drop index if exists idx__reservation_room_num_date
165
     [java] room.d: SQL: drop index if exists idx__room_room_num
166
     [java] reservation.d: Skipping dropping of word index: guest
167
     [java] room.d: SQL: create unique index idx__room_room_num on room (room_num) include (recid)
168
     [java] room-type.d: SQL: create unique index idx__room_type_type on room_type (room_type) include (recid)
169
     [java] room.d: Error processing import data; 0 of ? record(s) successfully processed;  0 record(s) uncommitted due to this error;  1 record(s) dropped. Cause: Error executeUpdate: ERROR: syntax error at or near "include"
170
     [java]   Position: 59
171
     [java] room-type.d: Error processing import data; 0 of ? record(s) successfully processed;  0 record(s) uncommitted due to this error;  1 record(s) dropped. Cause: Error executeUpdate: ERROR: syntax error at or near "include"
172
     [java]   Position: 66
173
     [java] 
174
     [java] com.goldencode.p2j.persist.PersistenceException: Error executeUpdate: ERROR: syntax error at or near "include"
175
     [java]   Position: 59
176
     [java] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "include"
177
     [java]   Position: 59
178
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
179
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
180
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:371)
181
     [java] 	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:502)
182
     [java] 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:419)
183
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:194)
184
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:155)
185
     [java] 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1502)
186
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.executeImpl(SQLExecutor.java:354)
187
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:272)
188
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:226)
189
     [java] 	at com.goldencode.p2j.persist.orm.SQLQuery.executeUpdate(SQLQuery.java:621)
190
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndex(ImportWorker.java:2465)
191
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndexes(ImportWorker.java:2418)
192
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.importTable(ImportWorker.java:1334)
193
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.lambda$importAsync$4(ImportWorker.java:2173)
194
     [java] 	at java.lang.Thread.run(Thread.java:750)
195
     [java] 
196
     [java] END room.d. 0 records imported into room
197
     [java] 80.07203% complete:  0 recs in 0:00:01.247 (0/sec, 0/min, 0/hr)
198
     [java] 
199
     [java] com.goldencode.p2j.persist.PersistenceException: Error executeUpdate: ERROR: syntax error at or near "include"
200
     [java]   Position: 66
201
     [java] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "include"
202
     [java]   Position: 66
203
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
204
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
205
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:371)
206
     [java] 	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:502)
207
     [java] 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:419)
208
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:194)
209
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:155)
210
     [java] 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1502)
211
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.executeImpl(SQLExecutor.java:354)
212
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:272)
213
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:226)
214
     [java] 	at com.goldencode.p2j.persist.orm.SQLQuery.executeUpdate(SQLQuery.java:621)
215
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndex(ImportWorker.java:2465)
216
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndexes(ImportWorker.java:2418)
217
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.importTable(ImportWorker.java:1334)
218
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.lambda$importAsync$4(ImportWorker.java:2173)
219
     [java] 	at java.lang.Thread.run(Thread.java:750)
220
     [java] 
221
     [java] END room-type.d. 0 records imported into room_type
222
     [java] 82.18573% complete:  0 recs in 0:00:01.249 (0/sec, 0/min, 0/hr)
223
     [java] BEGIN _user.d (meta_user)
224
     [java] BEGIN service.d (service)
225
     [java] service.d: SQL: drop index if exists idx__service_stay_charge
226
     [java] service.d: Set up UTF-8 character encoding.
227
     [java] rate.d: Set up UTF-8 character encoding.
228
     [java] _user.d: SQL: drop index if exists idx__meta_user_userid
229
     [java] reservation.d: Set up UTF-8 character encoding.
230
     [java] _user.d: SQL: drop index if exists idx__meta_user_user_domain_name
231
     [java] _user.d: SQL: drop index if exists idx__meta_user_user_sql_only_user
232
     [java] _user.d: SQL: create unique index idx__meta_user_userid on meta_user (upper(rtrim(userid)), upper(rtrim(domain_name))) include (recid)
233
     [java] _user.d: Error processing import data; 0 of ? record(s) successfully processed;  0 record(s) uncommitted due to this error;  1 record(s) dropped. Cause: Error executeUpdate: ERROR: syntax error at or near "include"
234
     [java]   Position: 106
235
     [java] 
236
     [java] com.goldencode.p2j.persist.PersistenceException: Error executeUpdate: ERROR: syntax error at or near "include"
237
     [java]   Position: 106
238
     [java] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "include"
239
     [java]   Position: 106
240
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
241
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
242
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:371)
243
     [java] 	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:502)
244
     [java] 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:419)
245
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:194)
246
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:155)
247
     [java] 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1502)
248
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.executeImpl(SQLExecutor.java:354)
249
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:272)
250
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:226)
251
     [java] 	at com.goldencode.p2j.persist.orm.SQLQuery.executeUpdate(SQLQuery.java:621)
252
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndex(ImportWorker.java:2465)
253
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndexes(ImportWorker.java:2418)
254
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.importTable(ImportWorker.java:1334)
255
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.lambda$importAsync$4(ImportWorker.java:2173)
256
     [java] 	at java.lang.Thread.run(Thread.java:750)
257
     [java] 
258
     [java] END _user.d. 0 records imported into meta_user
259
     [java] 83.24901% complete:  0 recs in 0:00:01.332 (0/sec, 0/min, 0/hr)
260
     [java] BEGIN guest-id-type.d (guest_id_type)
261
     [java] guest-id-type.d: SQL: drop index if exists idx__guest_id_type_id_type
262
     [java] guest-id-type.d: SQL: create unique index idx__guest_id_type_id_type on guest_id_type (id_type) include (recid)
263
     [java] guest-id-type.d: Error processing import data; 0 of ? record(s) successfully processed;  0 record(s) uncommitted due to this error;  1 record(s) dropped. Cause: Error executeUpdate: ERROR: syntax error at or near "include"
264
     [java]   Position: 75
265
     [java] 
266
     [java] com.goldencode.p2j.persist.PersistenceException: Error executeUpdate: ERROR: syntax error at or near "include"
267
     [java]   Position: 75
268
     [java] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "include"
269
     [java]   Position: 75
270
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
271
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
272
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:371)
273
     [java] 	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:502)
274
     [java] 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:419)
275
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:194)
276
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:155)
277
     [java] 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1502)
278
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.executeImpl(SQLExecutor.java:354)
279
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:272)
280
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:226)
281
     [java] 	at com.goldencode.p2j.persist.orm.SQLQuery.executeUpdate(SQLQuery.java:621)
282
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndex(ImportWorker.java:2465)
283
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndexes(ImportWorker.java:2418)
284
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.importTable(ImportWorker.java:1334)
285
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.lambda$importAsync$4(ImportWorker.java:2173)
286
     [java] 	at java.lang.Thread.run(Thread.java:750)
287
     [java] 
288
     [java] END guest-id-type.d. 0 records imported into guest_id_type
289
     [java] 84.16224% complete:  0 recs in 0:00:01.375 (0/sec, 0/min, 0/hr)
290
     [java] service.d: SQL: create index idx__service_stay_charge on service (stay_id, service_type, service_date, recid)
291
     [java] service.d: Analyzing service...
292
     [java] BEGIN service-type.d (service_type)
293
     [java] service-type.d: SQL: drop index if exists idx__service_type_charge_type
294
     [java] service-type.d: SQL: create unique index idx__service_type_charge_type on service_type (service_type) include (recid)
295
     [java] END service.d. 5 records imported into service
296
     [java] 85.19979% complete:  5 recs in 0:00:01.397 (3/sec, 214/min, 12884/hr)
297
     [java] service-type.d: Error processing import data; 0 of ? record(s) successfully processed;  0 record(s) uncommitted due to this error;  1 record(s) dropped. Cause: Error executeUpdate: ERROR: syntax error at or near "include"
298
     [java]   Position: 82
299
     [java] 
300
     [java] com.goldencode.p2j.persist.PersistenceException: Error executeUpdate: ERROR: syntax error at or near "include"
301
     [java]   Position: 82
302
     [java] Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "include"
303
     [java]   Position: 82
304
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2725)
305
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2412)
306
     [java] 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:371)
307
     [java] 	at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:502)
308
     [java] 	at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:419)
309
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:194)
310
     [java] 	at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:155)
311
     [java] 	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:1502)
312
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.executeImpl(SQLExecutor.java:354)
313
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:272)
314
     [java] 	at com.goldencode.p2j.persist.orm.SQLExecutor.execute(SQLExecutor.java:226)
315
     [java] 	at com.goldencode.p2j.persist.orm.SQLQuery.executeUpdate(SQLQuery.java:621)
316
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndex(ImportWorker.java:2465)
317
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.createIndexes(ImportWorker.java:2418)
318
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.importTable(ImportWorker.java:1334)
319
     [java] 	at com.goldencode.p2j.schema.ImportWorker$Library.lambda$importAsync$4(ImportWorker.java:2173)
320
     [java] 	at java.lang.Thread.run(Thread.java:750)
321
     [java] 
322
     [java] END service-type.d. 0 records imported into service_type
323
     [java] 86.11302% complete:  5 recs in 0:00:01.401 (3/sec, 214/min, 12847/hr)
324
     [java] rate.d: SQL: create index idx__rate_room_type_date on rate (room_type, start_date, end_date, recid)
325
     [java] rate.d: Analyzing rate...
326
     [java] END rate.d. 56 records imported into rate
327
     [java] 92.42840% complete:  61 recs in 0:00:01.426 (42/sec, 2566/min, 153997/hr)
328
     [java] reservation.d: SQL: create index idx__reservation_room_num_date on reservation (room_num, start_date, end_date, recid)
329
     [java] reservation.d: Skipping creation of word index: guest
330
     [java] reservation.d: Analyzing reservation...
331
     [java] END reservation.d. 36 records imported into reservation
332
     [java] 100.00000% complete:  97 recs in 0:00:01.444 (67/sec, 4030/min, 241828/hr)
333
     [java] Updated identity generator sequence starting at 40001.
334
     [java] Total records processed:  97 in 0:00:01.445 (67.128 records/sec)
335
     [java] Number of failed records: 7. Summary by table:
336
     [java] 	stay.d: 1 (fatal)
337
     [java] 	guest.d: 1 (fatal)
338
     [java] 	room.d: 1 (fatal)
339
     [java] 	room-type.d: 1 (fatal)
340
     [java] 	_user.d: 1 (fatal)
341
     [java] 	guest-id-type.d: 1 (fatal)
342
     [java] 	service-type.d: 1 (fatal)
343
     [java] Total sequences initialized: 0.
344
     [java] Reading merge DMO definitions...
345
     [java] Elapsed job time:  00:00:05.611
346
     [exec] CREATE FUNCTION
347
     [exec] DROP TRIGGER
348
     [exec] CREATE TRIGGER
349
     [exec] DROP TRIGGER
350
     [exec] CREATE TRIGGER
351
     [exec] ALTER TABLE
352
     [exec] psql:ddl/schema_word_tables_hotel_postgresql.sql:13: NOTICE:  trigger "reservation__guest__upd" for relation "reservation" does not exist, skipping
353
     [exec] psql:ddl/schema_word_tables_hotel_postgresql.sql:20: NOTICE:  trigger "reservation__guest__ins" for relation "reservation" does not exist, skipping
354
     [exec] psql:ddl/schema_word_tables_hotel_postgresql.sql:27: NOTICE:  constraint "pk__reservation__guest" of relation "reservation__guest" does not exist, skipping
355
     [exec] ALTER TABLE
356
     [exec] DROP INDEX
357
     [exec] CREATE INDEX
358
     [exec] ALTER TABLE
359
     [exec] DROP INDEX
360
     [exec] CREATE INDEX
361
     [exec] ALTER TABLE
362
     [exec] psql:ddl/schema_word_tables_hotel_postgresql.sql:29: NOTICE:  index "idx__reservation__guest" does not exist, skipping
363
     [exec] psql:ddl/schema_word_tables_hotel_postgresql.sql:31: NOTICE:  constraint "fk__reservation__guest" of relation "reservation__guest" does not exist, skipping
364
     [exec] psql:ddl/schema_word_tables_hotel_postgresql.sql:32: NOTICE:  index "fkidx__reservation__guest" does not exist, skipping
365
     [exec] ANALYZE
366

    
367
clean.db.mariadb:
368

    
369
create.db.mariadb:
370

    
371
import.db.mariadb:
372

    
373
import.db:
374

    
375
BUILD SUCCESSFUL
376
Total time: 12 seconds