Commit Graph

9576 Commits

Author SHA1 Message Date
Lukas Eder
c06bcfeec4 [jOOQ/jOOQ#11286] Use org.jooq.Meta to discover SQLite primary key, unique key, and foreign key names in code generator 2021-01-22 17:34:28 +01:00
Lukas Eder
35a70eb4bc [jOOQ/jOOQ#11292] AbstractMeta.getForeignKeys() and other key / index producing methods don't handle namespacing correctly 2021-01-22 17:12:07 +01:00
Lukas Eder
0cca2dc384 [jOOQ/jOOQ#11290] Parser parses PRIMARYKEY as PRIMARY KEY 2021-01-22 15:14:21 +01:00
Lukas Eder
6bc294580c [jOOQ/jOOQ#10823] Support MetaImpl backed Table.getKeys() for unique keys for remaining dialects 2021-01-22 14:50:49 +01:00
Lukas Eder
6bca99f0db [jOOQ/jOOQ#11287] NullPointerException in AbstractMeta.copyFK for SQLite
when a foreign key references a unique key
2021-01-22 13:35:56 +01:00
Lukas Eder
dc528e2f46 [jOOQ/jOOQ#11284] Wrong emulation of CREATE UNIQUE INDEX .. INCLUDE
This includes:
- [jOOQ/jOOQ#11280] Native support for CREATE INDEX .. INCLUDE in Db2
2021-01-22 10:21:01 +01:00
Lukas Eder
416fdaab4e [jOOQ/jOOQ#11281] Wrong SQLSTATE handled in Db2's CREATE INDEX IF NOT
EXISTS
2021-01-22 09:36:18 +01:00
Lukas Eder
e4c86cd43c [jOOQ/jOOQ#11277] Wrong Support annotation for Derby DROP { INDEX |
TABLE } IF EXISTS
2021-01-21 19:42:36 +01:00
Lukas Eder
4612ed9314 [jOOQ/jOOQ#11277] Wrong Support annotation for Derby DROP { INDEX | TABLE } IF EXISTS 2021-01-21 19:34:53 +01:00
Lukas Eder
f62c281833 [jOOQ/jOOQ#10551] Add support for Apache Ignite
- Fixed support annotation
2021-01-21 18:23:24 +01:00
Lukas Eder
c86ba36370 [jOOQ/jOOQ#10551] Fixed regression 2021-01-21 18:14:45 +01:00
Lukas Eder
b526e86bb1 [jOOQ/jOOQ#10551] Add support for Apache Ignite - WIP 2021-01-21 18:09:16 +01:00
Lukas Eder
547b87d394 [jOOQ/jOOQ#11273] Behavior of MockResultSet.close() differs from ResultSet.close() javadoc 2021-01-21 17:21:10 +01:00
Lukas Eder
eb63a33a0f [jOOQ/jOOQ#11266] The default SQL for DATEADD() is an empty string
See also [jOOQ/jOOQ#9085]
2021-01-21 08:43:53 +01:00
Lukas Eder
a2bbdbf8b7 [jOOQ/jOOQ#11258] Futher fixes related to fk/uk column order mismatch 2021-01-20 16:55:44 +01:00
Lukas Eder
9347069bec [jOOQ/jOOQ#11258] Reuse some FK copying logic 2021-01-20 15:31:50 +01:00
Lukas Eder
a5f0733f06 [jOOQ/jOOQ#11258] NullPointerException in MetaImpl.snapshot() when foreign key column order doesn't match unique key column order 2021-01-20 14:09:22 +01:00
Lukas Eder
43cf60192e [jOOQ/jOOQ#11261] Interpreter cannot find unique key if foreign key references columns in different order 2021-01-20 13:31:20 +01:00
Lukas Eder
d7810d9d59 [jOOQ/jOOQ#11259] NullPointerException when using table valued function
without explicit parameters
2021-01-20 12:37:22 +01:00
Lukas Eder
154e435611 [jOOQ/jOOQ#11255] Meta.getTables() does not include PostgreSQL foreign data wrapper tables 2021-01-20 10:01:44 +01:00
Lukas Eder
331bed7a19 [jOOQ/jOOQ#10804] NullPointerException when calling MetaImpl.snapshot() on a PostgreSQL schema with function based indexes 2021-01-20 09:37:58 +01:00
Lukas Eder
e23f6b2a43 [jOOQ/jOOQ#11254] More (unrelated) lambda-ification of internals 2021-01-19 23:05:04 +01:00
Lukas Eder
7606c434d4 [jOOQ/jOOQ#11254] Add lambda constructor in CustomField, CustomCondition, CustomQueryPart 2021-01-19 19:33:11 +01:00
Lukas Eder
7876d6adce [jOOQ/jOOQ#11253] Add some convenience API for locally overriding
Context.paramType(), Context.qualify(), and other flags
2021-01-19 17:01:45 +01:00
Lukas Eder
2592baf1bb [jOOQ/jOOQ#11253] Add some convenience API for locally overriding
Context.paramType(), Context.qualify(), and other flags
2021-01-19 15:43:44 +01:00
Lukas Eder
c9d36e6978 [jOOQ/jOOQ#11252] Add support for SET LOCAL statements 2021-01-19 13:45:59 +01:00
Lukas Eder
41590b2b53 [jOOQ/jOOQ#11243] Added missing @NotNull annotation 2021-01-19 13:22:29 +01:00
Lukas Eder
0acb21359d [jOOQ/jOOQ#11243] Emulate FOR UPDATE .. WAIT n using SET LOCAL LOCK_TIMEOUT in PostgreSQL dialects 2021-01-19 11:35:47 +01:00
Lukas Eder
27e20ad1e4 [jOOQ/jOOQ#6956] Support MARIADB, MYSQL, SQL Server
- Added Support annotations
- Test workarounds for missing REFERENCING clause support
- Support parsing SQL Server syntax
- Added support for FOR EACH STATEMENT
2021-01-18 21:20:31 +01:00
Lukas Eder
19913c0521 [jOOQ/jOOQ#6956] Support MARIADB and MYSQL
- Added MariaDB annotations
- Test workarounds for missing REFERENCING clause support
2021-01-18 17:28:34 +01:00
Lukas Eder
86cc65c617 [jOOQ/jOOQ#11246] Add support for TRIGGER pseudo columns DELETING,
INSERTING, UPDATING
2021-01-18 15:15:39 +01:00
Lukas Eder
63fd8d6bc8 [jOOQ/jOOQ#11196] [jOOQ/jOOQ#11249] Using lambdas when wrapping code
- in try/catch blocks
- in begin/end blocks
2021-01-18 14:53:57 +01:00
Lukas Eder
5df7fe3700 [jOOQ/jOOQ#11246] Add support for TRIGGER pseudo columns DELETING, INSERTING, UPDATING
This includes:

- [jOOQ/jOOQ#11247] VariableImpl should render qualified name
2021-01-18 11:02:32 +01:00
Lukas Eder
58efa255b6 [jOOQ/jOOQ#6956] Parse CREATE TRIGGER 2021-01-18 09:22:05 +01:00
Lukas Eder
b2d7bf5bdd Merge branch 'main' of github.com:jOOQ/jOOQ 2021-01-18 09:15:19 +01:00
Lukas Eder
a911f2e76c [jOOQ/jOOQ#11244] SelectQuery.setForUpdate and similar methods do not clear flag when value is false 2021-01-18 09:10:26 +01:00
Lukas Eder
e3bd8d2faa [jOOQ/jOOQ#6956] Add support for CREATE, DROP TRIGGER
- Added DSL (CREATE, DROP)
- Added parser support (DROP)
- Added simple integration tests
2021-01-15 17:39:56 +01:00
Lukas Eder
7916e2c24c [jOOQ/jOOQ#6956] Add support for CREATE, DROP TRIGGER
- Added DSL (CREATE, DROP)
- Added parser support (DROP)
- Added simple integration tests
2021-01-15 17:35:17 +01:00
Lukas Eder
599302b980 [jOOQ/jOOQ#9854] Fixed DECIMAL implementation for Firebird 2021-01-15 14:12:33 +01:00
Lukas Eder
0f66abf2fb [jOOQ/jOOQ#10030] Add a type annotation to all jOOQ API that accepts explicit string types 2021-01-15 11:12:01 +01:00
Lukas Eder
82fc6f52aa [jOOQ/jOOQ#11242] Remove deprecated on(Boolean), where(Boolean), having(Boolean), etc 2021-01-15 10:26:41 +01:00
Lukas Eder
167f598b0f [jOOQ/jOOQ#9854] Fixed imports 2021-01-14 17:40:29 +01:00
Lukas Eder
619bb92702 [jOOQ/jOOQ#11194] Fixed formatting regression 2021-01-14 17:38:38 +01:00
Lukas Eder
9f6d867417 Re-generated example code 2021-01-14 17:19:20 +01:00
Lukas Eder
62d40aaf1b [jOOQ/jOOQ#11239] Generated order of check constraints does not respect
Database::getOrderProvider
2021-01-14 17:14:36 +01:00
Lukas Eder
bb2ce3a43b [jOOQ/jOOQ#9854] Add support for DB2 DIGITS() function 2021-01-14 16:53:10 +01:00
Lukas Eder
51ebec9fc5 [jOOQ/jOOQ#11232] Support parsing MINVALUE() and MAXVALUE() 2021-01-14 15:57:49 +01:00
Lukas Eder
1c58bc1966 [jOOQ/jOOQ#8714] Support SQL Server function SQUARE() 2021-01-14 15:22:30 +01:00
Lukas Eder
9c52094957 [jOOQ/jOOQ#11235] Parser fails when union subquery contains correlated subquery 2021-01-14 13:36:50 +01:00
Lukas Eder
9f15b877d0 [jOOQ/jOOQ#11232] WIP 2021-01-14 12:40:22 +01:00