261 Commits

Author SHA1 Message Date
Andreas Dangel
d4779a135e
[doc] Update release notes (#5125) 2024-08-29 10:14:53 +02:00
Andreas Dangel
60a29f08a5
Merge branch 'master' into pr-5125 2024-08-29 10:10:35 +02:00
Andreas Dangel
f1f376d248
Deprecate generated parser implementations 2024-07-26 12:02:31 +02:00
Arjen Duursma
aea5db9b50 Make parsing more flexible and avoid breaking API change build error. 2024-07-25 22:27:50 +02:00
Andreas Dangel
6a242f019d
[plsql] Fix CollectionTypeName parsing 2024-07-25 11:42:22 +02:00
Andreas Dangel
87b0c4f851
[plsql] Fix ScalarDataTypeName parsing
Fixes #5133
2024-07-25 11:17:49 +02:00
Arjen Duursma
f6ad0d4b9b Make order of merge insert/update flexible. Allow prfixes in merge insert column names. 2024-07-22 15:01:54 +02:00
Arjen Duursma
0d6bb74756 Redo fix for merge without alias in table specification 2024-07-18 18:53:25 +02:00
Andreas Dangel
d59de6c550
[plsql] DEFAULT for Argument - fixups from #5088 2024-07-11 10:32:29 +02:00
Andreas Dangel
d3daf5e90e
Merge branch 'master' into pr-5088 2024-07-11 10:22:26 +02:00
Andreas Dangel
7b172acc7c
[plsql] SQL_MACRO - fixups from #5087 2024-07-11 10:15:58 +02:00
Andreas Dangel
3579f3f079
Merge branch 'master' into pr-5087 2024-07-11 09:49:04 +02:00
Andreas Dangel
8208e20844
Merge branch 'master' into pr-5086 2024-07-11 09:13:34 +02:00
Andreas Dangel
70296aeef6
[plsql] Fix unit tests after KEYWORD_UNRESERVED is removed 2024-06-27 21:17:11 +02:00
Andreas Dangel
f90093c923
Merge branch 'master' into pr-4943 2024-06-27 20:38:19 +02:00
Arjen Duursma
45b75c5ca0 Add support for DEFAULT_ARGUMENT as extension to arguments (eg. TO_NUMBER) 2024-06-27 15:28:38 +02:00
Arjen Duursma
68584ebf0a Removed unplanned empty line 2024-06-27 14:27:03 +02:00
Arjen Duursma
44ecb87c43 Add support for SQL_MACRO 2024-06-27 14:18:30 +02:00
Arjen Duursma
f994ae0e6f Fixed issue with missing optional table alias in MERGE usage 2024-06-27 13:33:00 +02:00
Andreas Dangel
3c34431cb8
[plsql] Allow error logging for multi-inserts
Refs #2779
2024-06-13 10:36:53 +02:00
Andreas Dangel
e0d465a81b
[plsql] Fix tests, restore exception handler, implicit cursor attribute 2024-06-13 09:50:44 +02:00
Andreas Dangel
7a57aeb4db
[plsql] Support exception handlers in compound triggers
- allow multiple exception handlers
- parse declarative section correctly in
  compound triggers
- CASE, CURSOR, DECLARE, EXECUTE, IF, PUBLIC, SQL are reserved words
  and cannot be used as an identifiers

Fixes #4270
2024-06-13 09:29:22 +02:00
Juan Martín Sotuyo Dodero
0afe6aec78
Merge branch 'master' into plsql-1934-merge-into 2024-06-07 23:12:57 -03:00
Andreas Dangel
d47ca10029
[plsql] Support Error Logging in INSERT, UPDATE, DELETE
Fixes #2779
2024-06-07 12:16:43 +02:00
Andreas Dangel
72bf5d07b4
[plsql] Support MERGE statement
Fixes #1934
2024-06-07 11:20:50 +02:00
Clément Fournier
2e9aa06273
Fix API compatibility
PLSQLParserImpl is public which shouldnt be
2024-05-11 23:13:12 +02:00
Clément Fournier
75e50df94a
Make @Image have old behavior, remove KEYWORD_UNRESERVED from tree 2024-04-21 22:55:09 +02:00
Clément Fournier
95721effd4
Trick javacc into giving string literal a non-literal image 2024-04-21 15:46:18 +02:00
Clément Fournier
f4e75410f8
Treat unquotable identifiers as unquoted in PLSQL 2024-04-21 12:53:50 +02:00
Clément Fournier
1c23df7286
Fix some weird things in PLSQL tokens 2024-04-08 20:56:08 +02:00
Andreas Dangel
180820238e
[plsql] Fix javadoc errors 2024-03-07 21:04:12 +01:00
Andreas Dangel
a481a062fe
[doc] Update release notes (#4820, #4825) 2024-02-16 08:49:34 +01:00
Laurent Bovet
4509b6b966 [plsql] Fix support of WITH clause 2024-02-15 13:38:04 +01:00
Andreas Dangel
fa97cff7ff
Merge pull request #4797 from adangel:lexexception-cpdlexer
[core] Rename TokenMgrError to LexException, Tokenizer to CpdLexer #4797
2024-02-02 19:59:41 +01:00
Andreas Dangel
55d91791c3
[core] Rename TokenMgrError to LexException
See #4065
2024-01-11 15:56:28 +01:00
Andreas Dangel
686851acd2
[plsql] Fix deprecated API usage 2023-12-14 15:03:58 +01:00
Clément Fournier
37e2f8f208
Improve jjt error messages 2023-03-19 22:57:51 +01:00
Clément Fournier
d1d2f30119
Remove some things from TextDocument 2022-04-30 16:06:40 +02:00
Clément Fournier
935b7fc4e2
Merge branch 'text-utils-simple' into text-utils-javacc 2022-04-30 15:45:00 +02:00
Clément Fournier
3ec44f83c1
Merge branch '7.0.x' into text-utils-simple 2022-04-30 14:02:21 +02:00
Andreas Dangel
f1a69b6ba9
Merge branch 'master' into pmd/7.0.x 2022-04-28 15:42:19 +02:00
Andreas Dangel
8370d6253d
[plsql] Fix usage of "IN" - it is a reserved word 2022-04-28 11:34:25 +02:00
Andreas Dangel
35b6cc79ca
[plsql] Refactor execute immediate statement
- It is now more compliant to the specification
- Add new AST node DynamicReturnClause
2022-04-28 10:57:59 +02:00
Andreas Dangel
45e4ec9e98
[plsql] Migrate ExecuteImmediateBulkCollectTest to BaseTreeDumpTest 2022-04-28 09:58:59 +02:00
Clément Fournier
64b9b25bef
Merge branch 'text-utils-simple' into text-utils-javacc 2022-04-24 10:58:33 +02:00
wsf
1a2682d5f8 fix ExecuteImmediateBulkCollect bug and add some test cases 2022-04-23 17:31:16 +08:00
Clément Fournier
26bdab4da4
WIP: Merge branch 'abort-on-semantic-errors' into text-utils-simple 2022-04-22 20:24:54 +02:00
Andreas Dangel
5e9402bfe1
Merge branch 'master' into pmd/7.0.x 2022-04-21 18:42:08 +02:00
李家奥
2667b421c1 add junit test cases 2022-04-20 14:37:11 +08:00
李家奥
5958b928dc [plsql] Fix parsing exception 2022-04-19 11:03:29 +08:00