Commit 838379f
Oracle compliant ALTER TABLE ADD/MODIFY deparser (#1163)
* javadoc-fixes
* fix check-style error : assignment to parameter not allowed
* import for javadoc reference
* javadoc - add description to parameter "fqn" (fix warning)
* remove doclint=none, but exclude package with exclude package with
generated sources (javacc/jjtree) from javadoc
* Implement Oracle Hints for INSERT, UPDATE, MERGE, DELETE
* Correct CreateIndex TailOptions
Add a Test Case for CreateIndex TailOptions
* Add WHERE expression to MergeInsert
Add test case for MergeInsert WHERE expression
* Fix Issue #1156: ALTER TABLE ADD FOREIGN KEY with schema reference
Add a specific test case
* Fix Issue #1157: Oracle does not accept COLUMN keyword in ALTER TABLE ADD/MODIFY
Correct the test cases accepting a non existing COLUMN keyword
Add a specific test cases
* Fix Issue #1164 UNIQUE after PRIMARY KEY
Add test case for UNIQUE after PRIMARY KEY
* Switch of warnings for un-fixble method namings
* Switch of warnings for un-fixble method namings
* Activate PMD and define our own ruleset
* Execute PMD before building/testing in order to fail early
* Fix 63 PMD warnings
* Activate rule "PMD.CyclomaticComplexity" in order to simulate the Codazy checks
Apply @SuppressWarnings({"PMD.CyclomaticComplexity"}) where this rule throws an unavoidable warning (especially for toString() and deparse())
* Activate rule , "PMD.ExcessiveMethodLength" in order to simulate the Codazy checks
Apply @SuppressWarnings({"PMD.ExcessiveMethodLength"}) where this rule throws an unavoidable warning (especially for toString() and deparse())
Refactor an ENUM name
* Refactor an ENUM name and reflect this also in the JavaCC Parser definition file
Co-authored-by: gitmotte <www@synbee.at>1 parent 08cfd29 commit 838379f
File tree
13 files changed
+104
-73
lines changed- src
- main/java/net/sf/jsqlparser
- expression
- parser
- feature
- schema
- statement
- alter
- create/table
- util/validation/validator
- test/java/net/sf/jsqlparser/test
13 files changed
+104
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
| 330 | + | |
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
| 334 | + | |
| 335 | + | |
335 | 336 | | |
336 | 337 | | |
337 | 338 | | |
| |||
397 | 398 | | |
398 | 399 | | |
399 | 400 | | |
| 401 | + | |
| 402 | + | |
400 | 403 | | |
401 | 404 | | |
402 | 405 | | |
| |||
406 | 409 | | |
407 | 410 | | |
408 | 411 | | |
| 412 | + | |
409 | 413 | | |
410 | 414 | | |
411 | 415 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
Lines changed: 47 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
| |||
202 | 204 | | |
203 | 205 | | |
204 | 206 | | |
| 207 | + | |
| 208 | + | |
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
| |||
227 | 231 | | |
228 | 232 | | |
229 | 233 | | |
230 | | - | |
| 234 | + | |
231 | 235 | | |
| 236 | + | |
232 | 237 | | |
233 | 238 | | |
234 | | - | |
| 239 | + | |
235 | 240 | | |
236 | 241 | | |
237 | 242 | | |
238 | 243 | | |
239 | | - | |
| 244 | + | |
240 | 245 | | |
| 246 | + | |
241 | 247 | | |
242 | 248 | | |
243 | | - | |
| 249 | + | |
244 | 250 | | |
245 | 251 | | |
246 | 252 | | |
247 | 253 | | |
248 | 254 | | |
249 | | - | |
| 255 | + | |
250 | 256 | | |
251 | 257 | | |
252 | 258 | | |
253 | 259 | | |
254 | 260 | | |
255 | 261 | | |
256 | | - | |
| 262 | + | |
257 | 263 | | |
258 | 264 | | |
259 | 265 | | |
260 | 266 | | |
261 | 267 | | |
262 | 268 | | |
263 | | - | |
| 269 | + | |
264 | 270 | | |
265 | 271 | | |
266 | 272 | | |
267 | 273 | | |
268 | 274 | | |
269 | 275 | | |
270 | | - | |
| 276 | + | |
271 | 277 | | |
272 | 278 | | |
273 | 279 | | |
274 | 280 | | |
275 | 281 | | |
276 | 282 | | |
277 | 283 | | |
| 284 | + | |
278 | 285 | | |
279 | 286 | | |
280 | 287 | | |
| |||
286 | 293 | | |
287 | 294 | | |
288 | 295 | | |
289 | | - | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
290 | 301 | | |
291 | 302 | | |
292 | 303 | | |
| |||
309 | 320 | | |
310 | 321 | | |
311 | 322 | | |
312 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
313 | 327 | | |
314 | 328 | | |
315 | 329 | | |
316 | 330 | | |
317 | 331 | | |
318 | 332 | | |
319 | 333 | | |
320 | | - | |
| 334 | + | |
| 335 | + | |
321 | 336 | | |
322 | 337 | | |
323 | 338 | | |
324 | 339 | | |
325 | 340 | | |
326 | 341 | | |
327 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
328 | 347 | | |
329 | 348 | | |
330 | 349 | | |
| |||
352 | 371 | | |
353 | 372 | | |
354 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
355 | 377 | | |
356 | 378 | | |
357 | 379 | | |
358 | 380 | | |
359 | 381 | | |
360 | 382 | | |
361 | | - | |
362 | | - | |
363 | | - | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
364 | 387 | | |
365 | 388 | | |
366 | 389 | | |
367 | 390 | | |
368 | 391 | | |
369 | | - | |
| 392 | + | |
370 | 393 | | |
371 | 394 | | |
372 | 395 | | |
| |||
388 | 411 | | |
389 | 412 | | |
390 | 413 | | |
391 | | - | |
| 414 | + | |
| 415 | + | |
392 | 416 | | |
393 | 417 | | |
394 | 418 | | |
| |||
426 | 450 | | |
427 | 451 | | |
428 | 452 | | |
| 453 | + | |
| 454 | + | |
429 | 455 | | |
430 | | - | |
431 | 456 | | |
| 457 | + | |
432 | 458 | | |
433 | 459 | | |
434 | 460 | | |
| |||
445 | 471 | | |
446 | 472 | | |
447 | 473 | | |
448 | | - | |
| 474 | + | |
449 | 475 | | |
450 | 476 | | |
451 | 477 | | |
452 | 478 | | |
453 | 479 | | |
454 | 480 | | |
455 | 481 | | |
456 | | - | |
| 482 | + | |
457 | 483 | | |
458 | 484 | | |
459 | 485 | | |
460 | 486 | | |
461 | | - | |
| 487 | + | |
462 | 488 | | |
463 | | - | |
| 489 | + | |
464 | 490 | | |
465 | 491 | | |
466 | 492 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | | - | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments