Commit Graph

9534 Commits

Author SHA1 Message Date
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
Lukas Eder
ae33ea75db [jOOQ/jOOQ#11232] WIP 2021-01-14 12:13:05 +01:00
Lukas Eder
fd0c0cec09 [jOOQ/jOOQ#11232] Removed some unused names 2021-01-14 11:06:45 +01:00
Lukas Eder
774d2ff617 [jOOQ/jOOQ#11231] Support parsing Access ASC() or Firebird ASCII_VAL() functions 2021-01-14 09:55:09 +01:00
Lukas Eder
dec1e60c29 [jOOQ/jOOQ#7290] Add DSL.chr(int) 2021-01-13 20:27:13 +01:00
Lukas Eder
4828ac5488 [jOOQ/jOOQ#11228] Settings.isMapConstructorParameterNamesInKotlin doesn't work for kotlin inline classes 2021-01-13 17:42:06 +01:00
Lukas Eder
199919529f Whitespace change 2021-01-13 16:40:42 +01:00
Lukas Eder
d6edf270d3 [jOOQ/jOOQ#11224] DROP TEMPORARY TABLE doesn't generate TEMPORARY keyword in MariaDB 2021-01-13 16:27:46 +01:00
Lukas Eder
c11d086416 Whitespace change 2021-01-13 16:16:14 +01:00
Lukas Eder
8dfd0f5011 [jOOQ/jOOQ#9163] Standardise ALTER SEQUENCE
This includes:
- [jOOQ/jOOQ#11222] Re-add type safety to ALTER SEQUENCE statement
- [jOOQ/jOOQ#11223] Prevent parsing the same flag twice in CREATE
SEQUENCE and ALTER SEQUENCE
2021-01-13 15:50:37 +01:00
Lukas Eder
28d7c22e17 [jOOQ/jOOQ#9163] Standardise TRUNCATE 2021-01-13 12:42:24 +01:00
Lukas Eder
a1b08de279 [jOOQ/jOOQ#11218] KotlinGenerator generates Record[N]<T1, T2, ..., TN>
for PK types in DAOs, instead of Record[N]<T1?, T2?, ..., TN?>
2021-01-13 09:37:32 +01:00
Lukas Eder
179f15d277 [jOOQ/jOOQ#10645] Native support for FETCH NEXT .. WITH TIES 2021-01-12 21:48:18 +01:00
Lukas Eder
b7425905f3 [jOOQ/jOOQ#10645] Native support for FETCH NEXT .. WITH TIES 2021-01-12 21:48:02 +01:00
Lukas Eder
955c1ae1c5 [jOOQ/jOOQ#10645] Add SQLDialect.POSTGRES_13 2021-01-12 15:40:37 +01:00
Lukas Eder
be0614cfd8 [jOOQ/jOOQ#8715] PostgreSQL supports LOG10 only in version 12+ 2021-01-12 15:29:53 +01:00
Lukas Eder
4ece30368e [jOOQ/jOOQ#11200] Multithread deadlock: org.jooq.impl.AbstractField references subclass org.jooq.impl.Val in static initializer 2021-01-12 15:19:31 +01:00
Lukas Eder
95b49c4c9c [jOOQ/jOOQ#9163] Standardise ALTER TYPE 2021-01-12 10:38:38 +01:00
Lukas Eder
853dca158b [jOOQ/jOOQ#9163] Standardise CREATE INDEX 2021-01-12 09:32:42 +01:00
Lukas Eder
c7a4139bf6 [jOOQ/jOOQ#11208] ArrayStoreException when calling ResultQuery<Record[N]>.fetchArray() 2021-01-09 12:54:06 +01:00
Lukas Eder
4e460b756f [jOOQ/jOOQ#9163] Standardise DROP TABLE 2021-01-08 23:33:24 +01:00
Lukas Eder
d22c5c70d3 [jOOQ/jOOQ#9163] Standardise DROP VIEW 2021-01-08 23:17:05 +01:00
Lukas Eder
8cc0de6194 [jOOQ/jOOQ#9163] Standardise DROP INDEX 2021-01-08 23:06:42 +01:00
Lukas Eder
10406c2a1a [jOOQ/jOOQ#9163] Standardise ALTER INDEX 2021-01-08 22:19:30 +01:00
Lukas Eder
54938152a9 [jOOQ/jOOQ#11196] Drop support for Java 6 and 7
- More IntelliJ inspections fixed
2021-01-08 21:28:04 +01:00
Lukas Eder
ed9cf844f2 [jOOQ/jOOQ#11207] AbstractBinding empty base implementations should
throw exception
2021-01-08 17:04:17 +01:00
Lukas Eder
8730a24151 [jOOQ/jOOQ#11201] MetaTable::getReferences and
MetaUniqueKey::getReferences do not take into account
inverseSchemaCatalog
2021-01-08 13:21:28 +01:00
Lukas Eder
918f91b028 [jOOQ/jOOQ#11196] Drop support for Java 6 and 7
Runtime library - language usage

- Removed [java-8] tags
- Removed F functional interfaces
- Removed Meta.Predicate functional interfaces
- Converted anonymous classes to lambdas
- Removed some explicit final keywords where effectively final works
- Removed Java 6 Jenkinsfile
- try-with-resources
- Merged some catch blocks
- Get rid of type witnesses where possible

Runtime library - JDK API usage

- Prefer Collection.sort() over Collections.sort()
- Use Map.computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Map::computeIfAbsent for Map<K, List<V>> lazy initialisation
- Replace Iterator::remove calls by Collection::removeIf
- Use Comparator::comparing and Comparator::thenComparing
- Use Stream API where not performance critical
- Replaced Map::entrySet iterations by Map::forEach
- Use ResultQuery::collect
- Map::putIfAbsent

Code generation

- Generate lambda for LazySchema's LazySupplier

Unrelated

- Applied a few IntelliJ inspections
- Remove unnecessary explicit array creation
2021-01-08 12:35:47 +01:00
Lukas Eder
45492ac937 [jOOQ/jOOQ#8715] Add support for the LOG10 function 2021-01-06 14:41:38 +01:00
Lukas Eder
13731641d9 [jOOQ/jOOQ#8715] Add support for the LOG10 function 2021-01-06 14:40:26 +01:00
Lukas Eder
ffddea1aa6 [jOOQ/jOOQ#8611] Deprecate unsupported MySQL encryption functions 2021-01-06 13:58:48 +01:00
Lukas Eder
b169a60490 [jOOQ/jOOQ#11194] Fixed edge cases 2021-01-06 12:48:45 +01:00
Lukas Eder
562095f27e [jOOQ/jOOQ#11194] Add code generation configuration for Javadoc line
wrapping
2021-01-06 11:32:04 +01:00
Lukas Eder
7d760fa4cb [jOOQ/jOOQ#11192] Add Javadoc remark to code generation flags available to commercial editions only 2021-01-06 09:27:21 +01:00
Lukas Eder
cfda89a5e8 [jOOQ/jOOQ#11189] Fixed deprecated annotation formatting 2021-01-05 17:37:47 +01:00
Lukas Eder
4bc3f9fb27 [jOOQ/jOOQ#11189] Fixed line wrapping 2021-01-05 17:15:10 +01:00
Lukas Eder
2186758e91 [jOOQ/jOOQ#9728] Log unused warning 2021-01-05 16:34:30 +01:00
Lukas Eder
592d45363f [jOOQ/jOOQ#9728] Add <comments/> configuration to allow for generating
custom Javadoc on generated code

This includes:

- [jOOQ/jOOQ#11189] Improve generated Javadoc formatting
2021-01-05 16:27:13 +01:00
Lukas Eder
1f9f3dc269 [jOOQ/jOOQ#9728] Add <comments/> configuration to allow for generating
custom Javadoc on generated code

This includes:

- [jOOQ/jOOQ#11189] Improve generated Javadoc formatting
2021-01-05 16:26:59 +01:00
Lukas Eder
d9fd96e30b [jOOQ/jOOQ#9085] [jOOQ/jOOQ#9753] Change DEFAULT rendering of CURRENT_DATE, CURRENT_TIME, and CURRENT_TIMESTAMP 2021-01-05 11:30:05 +01:00
Lukas Eder
7750b94d58
Update config.yml 2021-01-05 10:41:24 +01:00
Lukas Eder
ce650c4622
Update config.yml 2021-01-05 10:41:08 +01:00
Lukas Eder
6d5ae974b0
Create config.yml 2021-01-05 10:40:45 +01:00