Commit Graph

1041 Commits

Author SHA1 Message Date
Lukas Eder
d648fb67d6 [jOOQ/jOOQ#11507] Add Log.isWarnEnabled() 2021-02-23 15:12:24 +01:00
Lukas Eder
fd756190b1 [jOOQ/jOOQ#11495] Remove pre 3.5 deprecated API 2021-02-22 16:05:56 +01:00
Lukas Eder
d0aa1c406d [jOOQ/jOOQ#4876] Add Firebird 3.0 support for IDENTITY columns 2021-02-18 17:56:10 +01:00
Lukas Eder
ad21db797a [jOOQ/jOOQ#2620] Support Google BigQuery - WIP
This includes:

- [jOOQ/jOOQ#11461] MetaTable does not contain table COMMENT (REMARKS)
2021-02-17 21:34:11 +01:00
Lukas Eder
ee05f720d0 [jOOQ/jOOQ#11393] Add CockroachDB ENUM type support
- DDL support added
- Fixed code generation support
- Re-generated code
2021-02-09 14:25:22 +01:00
Lukas Eder
6a0b4714cd [jOOQ/jOOQ#11325] PostgreSQL 11 compatible fix 2021-01-29 18:18:00 +01:00
Lukas Eder
c8f290cfa3 [jOOQ/jOOQ#11325] PostgreSQL routines with long names are excluded by code generator 2021-01-29 15:49:38 +01:00
Lukas Eder
0c231407e0 [jOOQ/jOOQ#10844] Fixed regression 2021-01-27 10:06:50 +01:00
Lukas Eder
be1c88f19a [jOOQ/jOOQ#10551] Add support for Apache Ignite
- Support empty GROUP BY
2021-01-26 22:14:23 +01:00
Lukas Eder
94e12e4f90 [jOOQ/jOOQ#11319] JDBCDatabase produces empty string as default value everywhere 2021-01-26 22:13:52 +01:00
Lukas Eder
4993246f40 [jOOQ/jOOQ#10551] Add support for Apache Ignite
- Make IgniteDatabase dependent on JDBCDatabase
2021-01-26 09:48:16 +01:00
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
b526e86bb1 [jOOQ/jOOQ#10551] Add support for Apache Ignite - WIP 2021-01-21 18:09:16 +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
b7425905f3 [jOOQ/jOOQ#10645] Native support for FETCH NEXT .. WITH TIES 2021-01-12 21:48:02 +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
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
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
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
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
0e7fa9d46c [jOOQ/jOOQ#11172] Add support for SQLite's fts3 and fts4 virtual tables 2021-01-02 15:09:48 +01:00
Lukas Eder
4c3e8fb74d [jOOQ/jOOQ#9650] SNOWFLAKE support WIP 2020-12-21 15:33:04 +01:00
Lukas Eder
01230163b4 [jOOQ/jOOQ#11054] Added an internal, undocumented API to collect Params
The parser is able to collect Params in lexicographic order and offer them to clients in that order, enhanced with contextual DataTypes attached (see also [jOOQ/jOOQ#11061]).

This includes a change opening up internal functional interfaces, see [jOOQ/jOOQ#11131]
2020-12-16 09:55:43 +01:00
Lukas Eder
9b6cce0640 [jOOQ/jOOQ#11054] Fix default values 2020-12-03 16:16:03 +01:00
Lukas Eder
7e504ef6f7 í¸[jOOQ/jOOQ#11054] Add code generator support for synthetic views
- Fixed regression where views contain inline values
2020-12-01 17:36:19 +01:00
Lukas Eder
b5a6ef98c6 [jOOQ/jOOQ#11054] WIP 2020-12-01 16:06:12 +01:00
Lukas Eder
6a0e7494d0 [jOOQ/jOOQ#11047] Code generator does not produce indexes for quoted
identifiers in PostgreSQL
2020-11-30 11:41:18 +01:00
Lukas Eder
4b462d3a21 [jOOQ/jOOQ#10940] Root cause fixed, revert workaround 2020-11-20 17:51:52 +01:00
Lukas Eder
c4d3644872 [jOOQ/jOOQ#10998] Add <enumsAsScalaSealedTraits/> to let ScalaGenerator
generate Java enums or Dotty enums
2020-11-20 13:50:06 +01:00
Lukas Eder
3401597eae [jOOQ/jOOQ#10940] <includeSystemCheckConstraints/> fails with missing FROM-clause entry for table "alias_18649163" on PostgreSQL 2020-11-19 16:05:03 +01:00
Lukas Eder
c3dfa9be70 [jOOQ/jOOQ#10979] XMLDatabase does not produce parameters for overloaded routines 2020-11-19 11:50:26 +01:00
Lukas Eder
9a94ce3bc6 [jOOQ/jOOQ#7373] [jOOQ/jOOQ#10944] Code generator warning message should refer to deprecated <customType/> only if customType configuration is present 2020-11-16 09:34:45 +01:00
Lukas Eder
b5f80d0b0f [jOOQ/jOOQ#10851] Add <visibilityModifier/> to allow for generating explicit / implicit public visibility, as well as internal in KotlinGenerator 2020-11-12 16:39:59 +01:00
Lukas Eder
3a4254518e [jOOQ/jOOQ#10927] Add code generator support for SQLite CHECK constraints 2020-11-12 14:01:46 +01:00
Lukas Eder
9afae0df97 [jOOQ/jOOQ#10913] Add Database.getPrimaryKeys() and overloads to
jOOQ-meta
2020-11-11 13:25:49 +01:00
Lukas Eder
cfa9c47c4f [jOOQ/jOOQ#10898] Add optional schema qualification 2020-11-09 17:33:56 +01:00
Lukas Eder
c6a0d2a556 [jOOQ/jOOQ#10899] Add <includeSystemSequences/> to code generator
configuration
2020-11-09 17:23:14 +01:00
Lukas Eder
2d66eae6f2 [jOOQ/jOOQ#10898] Add Settings.metaIncludeSystemSequences 2020-11-09 17:22:51 +01:00
Lukas Eder
6d0c56e422 [jOOQ/jOOQ#10899] Add <includeSystemSequences/> to code generator configuration 2020-11-09 16:39:14 +01:00
Lukas Eder
c4c727264a [jOOQ/jOOQ#10546] [jOOQ/jOOQ#10883] [jOOQ/jOOQ#10884]
- [jOOQ/jOOQ#10546] Add { Schema, Meta } . { getUniqueKeys(),
getForeignKeys(), getIndexes() }
- [jOOQ/jOOQ#10883] Add Table.getUniqueKeys()
- [jOOQ/jOOQ#10884] Change jOOQ-meta Relations.getUniqueKeys() to return
unique keys only
2020-11-06 15:06:41 +01:00
Lukas Eder
27bb9dee59 [jOOQ/jOOQ#10821] Code generation fails in PostgreSQL when grants for enum types are missing 2020-11-05 14:40:55 +01:00
Lukas Eder
b69cc3eba3 [jOOQ/jOOQ#10824] Stop using information_schema.table_constraints in PostgresDatabase 2020-11-05 14:16:51 +01:00
Lukas Eder
bc59e040a0 [jOOQ/jOOQ#10858] <includeSystemIndexes/> doesn't work correctly on MySQL 8.0.22 2020-11-04 14:49:51 +01:00
Lukas Eder
23c1b6826d [jOOQ/jOOQ#10856] Avoid querying information_schema.columns.datetime_precision in older versions of MySQL 5.7 2020-11-04 13:58:34 +01:00
Lukas Eder
58e484ee1d [jOOQ/jOOQ#10827] Add a DSL.currentCatalog() function 2020-11-04 12:55:29 +01:00
Lukas Eder
8268f2745e [jOOQ/jOOQ#10854] Added TODO 2020-11-04 11:42:43 +01:00
Lukas Eder
0bf24f16c1 [jOOQ/jOOQ#10844] Added implementation for Firebird, HSQLDB, PostgreSQL 2020-11-03 17:05:05 +01:00
Lukas Eder
0b1c02b640 [jOOQ/jOOQ#10844] Added implementation for Db2 and H2 2020-11-03 15:28:33 +01:00