Commit Graph

5883 Commits

Author SHA1 Message Date
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
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
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
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
28ac40bcd2 [jOOQ/jOOQ#11172] Support SQLite VIRTUAL tables without column defs 2021-01-04 09:46:23 +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
Lukas Eder
bed6563095 [jOOQ/jOOQ#11166] Wrong SQL generated for Informix STDDEV_SAMP and
VAR_SAMP
2020-12-23 10:51:51 +01:00
Lukas Eder
f6db048fad [jOOQ/jOOQ#3185] Fixed regression 2020-12-23 00:09:37 +01:00
Lukas Eder
792cda7eca [jOOQ/jOOQ#3185] Fixed regression 2020-12-22 21:47:12 +01:00
Lukas Eder
416f9cc088 [jOOQ/jOOQ#3185] Let ResultQuery<R>, InsertResultStep<R>, UpdateResultStep<R>, DeleteResultStep<R> extend Fetchable<R> 2020-12-22 17:51:22 +01:00
Lukas Eder
6c9f80d710 [jOOQ/jOOQ#11164] Remove ResultQuery::fetchLater and ResultQuery.fetchLazy(int) 2020-12-22 16:17:54 +01:00
Lukas Eder
7b8c525470 [jOOQ/jOOQ#11161] Add formal support for SQL Server PIVOT clause 2020-12-22 15:22:22 +01:00
Lukas Eder
60a18e6fdc [jOOQ/jOOQ#9650] SNOWFLAKE support WIP 2020-12-22 14:56:48 +01:00
Lukas Eder
492416b7e3 [jOOQ/jOOQ#9085] RATIO_TO_REPORT 2020-12-22 14:56:38 +01:00