Commit Graph

9522 Commits

Author SHA1 Message Date
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
Lukas Eder
83f8d3638f Revert "[jOOQ/jOOQ#11172] Support SQLite VIRTUAL tables without column defs" 2021-01-04 21:11:03 +01:00
Lukas Eder
0a8cc44eae [jOOQ/jOOQ#11182] Generate DAO.fetchByXYZ() methods for embeddable types
This includes:

- [jOOQ/jOOQ#11183] Generate record constructor taking a generated POJO
- [jOOQ/jOOQ#11187] Add DAO.fetch(Field<Z>, Collection<? extends Z>)
2021-01-04 18:47:56 +01:00
Lukas Eder
53fff73f84 [jOOQ/jOOQ#11179] Compilation errors in generated DAOs when embeddables
use <replacesFields/>
2021-01-04 16:38:48 +01:00
Lukas Eder
35cc45baa9 [jOOQ/jOOQ#11185] Compilation errors in generated embeddable pojos if
the embeddable is located in a "synthetic" schema
2021-01-04 16:33:20 +01:00
Lukas Eder
98048c8b69 [jOOQ/jOOQ#11180] Clarify unused logger warning message about what is
obsolete
2021-01-04 13:21:57 +01:00
Lukas Eder
5a933882e8 [jOOQ/jOOQ#11176] Add <includeSystemTables/> to exclude SQLite virtual table implementation tables from code generation 2021-01-04 10:28:15 +01:00
Lukas Eder
28ac40bcd2 [jOOQ/jOOQ#11172] Support SQLite VIRTUAL tables without column defs 2021-01-04 09:46:23 +01:00
Lukas Eder
0e7fa9d46c [jOOQ/jOOQ#11172] Add support for SQLite's fts3 and fts4 virtual tables 2021-01-02 15:09:48 +01:00
Lukas Eder
df957c4108 [jOOQ/jOOQ#11172] Add support for SQLite's fts3 and fts4 virtual tables 2021-01-02 13:51:21 +01:00
Lukas Eder
1d62737f95 [jOOQ/jOOQ#11150] Omitting parts of the foreign key in onKey(TableField…) doesn't produce the expected result 2020-12-24 14:07:11 +01:00
Lukas Eder
ad31d1c89b [jOOQ/jOOQ#11168] DataType.convert(Object...) and convert(Collection<?>)
don't work for converted data types
2020-12-24 13:03:47 +01:00
Lukas Eder
52503296a2 [jOOQ/jOOQ#10832] Fix nullability annotations 2020-12-23 14:55:12 +01:00