New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for { CREATE | DROP } TRIGGER commands #6956
Labels
Projects
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
4 tasks
22 tasks
Closed
12 tasks
lukaseder
changed the title
Add support for CREATE TRIGGER and DROP TRIGGER commands
Add support for { ALTER | CREATE | DROP } TRIGGER commands
Jan 15, 2021
This will ship in jOOQ 3.15 |
lukaseder
added a commit
that referenced
this issue
Jan 15, 2021
- Added DSL (CREATE, DROP) - Added parser support (DROP) - Added simple integration tests
lukaseder
added a commit
that referenced
this issue
Jan 15, 2021
- Added DSL (CREATE, DROP) - Added parser support (DROP) - Added simple integration tests
lukaseder
added a commit
that referenced
this issue
Jan 15, 2021
- Added DSL (CREATE, DROP) - Added parser support (DROP) - Added simple integration tests
lukaseder
added a commit
that referenced
this issue
Jan 18, 2021
lukaseder
added a commit
that referenced
this issue
Jan 18, 2021
- Added MariaDB annotations - Test workarounds for missing REFERENCING clause support
lukaseder
added a commit
that referenced
this issue
Jan 18, 2021
- Added Support annotations - Test workarounds for missing REFERENCING clause support - Support parsing SQL Server syntax - Added support for FOR EACH STATEMENT
5 tasks
lukaseder
changed the title
Add support for { ALTER | CREATE | DROP } TRIGGER commands
Add support for { CREATE | DROP } TRIGGER commands
Jan 27, 2021
This was referenced Jan 27, 2021
lukaseder
added a commit
that referenced
this issue
Jan 27, 2021
lukaseder
added a commit
that referenced
this issue
Feb 2, 2021
lukaseder
added a commit
that referenced
this issue
Feb 4, 2021
lukaseder
added a commit
that referenced
this issue
Feb 4, 2021
9 tasks
More dialects will be supported in a future release: #11989 |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Now that we support
BEGIN .. END
style blocks (#6474), and hopefully soon also other procedural language elements (#6475), we should definitely add support for triggers as well.Tasks
(out of scope, will be implemented separately: Add support for ALTER TRIGGER commands #11322)ALTER
CREATE
OR REPLACE
BEFORE
,AFTER
,INSTEAD OF
INSERT
,UPDATE
[OF
],DELETE
REFERENCING
FOR EACH ROW
,FOR EACH STATEMENT
WHEN
DROP
INSERTING
,UPDATING
,DELETING
keywords (see Add support for TRIGGER pseudo columns DELETING, INSERTING, UPDATING #11246)(out of scope, will be implemented separately: Add support for ALTER TRIGGER commands #11322)ALTER
CREATE
DROP
STATIC_STATEMENT
in Oracle, to support the:OLD
syntax, to prevent Oracle from thinking this is an actual bind variable 🙄OR REPLACE
WHEN
can be emulated simply, by moving the predicate into the trigger body as anIF
statementREFERENCING
REFERENCING OLD AS OLD NEW AS NEW
in those cases for better standardisationCould be emulated by splitting the trigger into separate triggers, but let's not do that for now.INSERT OR UPDATE OR DELETE
cannot be emulatedINSTEAD OF
cannote be emulatedUPDATE OF
Tasks from separate issues:
org.jooq.Trigger
meta model (see Add Trigger runtime meta model #11248)Out of scope features:
CREATE TRIGGER
statement (see Add support for additional CREATE TRIGGER features #11321)References:
See also:
https://stackoverflow.com/q/47969132/521799
The text was updated successfully, but these errors were encountered: