Commit Graph

170 Commits

Author SHA1 Message Date
Lukas Eder
68a25556c0 [jOOQ/jOOQ#12408] Make the OSGi imports for jackson and gson modules optional 2021-09-08 14:26:06 +02:00
Lukas Eder
c67e718892 Release 3.16.0-SNAPSHOT 2021-07-05 17:30:40 +02:00
Lukas Eder
b3f4ff8dc0 [jOOQ/jOOQ#11960] Add support for Redshift YEAR TO MONTH interval literals 2021-07-02 14:57:45 +02:00
Lukas Eder
bf531df8f2 [jOOQ/jOOQ#11738] Added the optional, provided ojdbc dependency 2021-03-31 11:41:40 +02:00
Lukas Eder
83103e8811 [jOOQ/jOOQ#11738] Added the optional, provided mssql-jdbc dependency 2021-03-31 10:53:45 +02:00
Lukas Eder
de5d49ed10 [jOOQ/jOOQ#11700] Make r2dbc a managed dependency 2021-03-31 10:00:50 +02:00
Lukas Eder
f27e57521f [jOOQ/jOOQ#11700] Add R2DBC support
- Add DSLContext.parsingConnectionFactory()
2021-03-23 17:35:34 +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
7cff2cae7e Release 3.15.0-SNAPSHOT 2020-10-20 10:20:20 +02:00
Lukas Eder
96b3970eb4 [jOOQ/jOOQ#6244] Make Jetbrains annotations dependency optional/provided 2020-07-28 12:18:19 +02:00
Lukas Eder
0161a45ebe [jOOQ/jOOQ#6244] Add nullability annotations to jOOQ API (WIP)
This includes a partial implementation of [jOOQ/jOOQ#10292] Add org.jooq.Qualified
2020-06-18 15:19:44 +02:00
Lukas Eder
bd9281111b Test dependency changes 2020-04-30 16:31:15 +02:00
Knut Wannheden
0a55bad190 [jOOQ/jOOQ#9825] Only build Refaster in Java 8+ 2020-02-20 16:36:37 +01:00
Knut Wannheden
9faa244a0d [#282] Stop removing trailing spaces outside delimited code regions 2020-02-20 12:20:19 +01:00
Lukas Eder
330dac76de Release 3.14.0-SNAPSHOT 2020-02-12 11:29:19 +01:00
Claus Ibsen
3e23839e94 Fixes #9670 to make jooq OSGi backwards compatible for slf4j and also fix the bundle to not import itself.
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
2019-12-13 08:57:30 +01:00
Claus Ibsen
3e27644e7a Fixes #9670 to make jooq OSGi backwards compatible for slf4j and also fix the bundle to not import itself.
Signed-off-by: Claus Ibsen <claus.ibsen@gmail.com>
2019-12-12 14:59:07 +01:00
Lukas Eder
485afa0551 [jOOQ/jOOQ#9669] Move xjb files out of artifacts 2019-12-12 12:18:05 +01:00
Knut Wannheden
ffb4ad44a9 [jOOQ/jOOQ#7511] Fix DDLInterpreter and AlterTableImpl in OSS edition 2019-12-12 09:16:43 +01:00
Lukas Eder
6d000bd55b [jOOQ/jOOQ#7511] [jOOQ/jOOQ#9662] WIP 2019-12-11 15:33:09 +01:00
Knut Wannheden
83fb81f927 [jOOQ/jOOQ#9660] Adding test dependencies back to jOOQ
The dependencies to some embedded database drivers are required by some
of the unit tests.
2019-12-11 12:17:52 +01:00
Knut Wannheden
420b5ca0cb [jOOQ/jOOQ#9660] Upgrade Derby to version 10.15
Also regenerates the `SYS` schema in `jOOQ-meta` for Derby.
2019-12-11 10:38:48 +01:00
Knut Wannheden
fcc90d0c5a [jOOQ/jOOQ#9442] Code generator uses factory method for sequences
Instead of generating code which directly uses the `SequenceImpl`
constructor, the generator now emits code using a static factory method
in the `Internal` factory class.

Also removes duplicate H2 dependency from `jOOQ/pom.xml`.
2019-11-27 10:04:08 +01:00
Lukas Eder
bebb068d27 [jOOQ/jOOQ#9460] Support additional Settings.interpreterDialects and add an InterpreterConnectionProvider SPI 2019-10-31 11:47:22 +01:00
Lukas Eder
3db42010ef Removed log4j.version 2019-10-15 15:53:56 +02:00
Knut Wannheden
d27dbf4117 Preparing master for 3.13 release cycle 2019-08-29 16:12:59 +02:00
Lukas Eder
990bfa4663 [jOOQ/jOOQ#8939] Various fixes
- Fixed a bug when FlywayFileComparator compares non-flyway files
- Added a unit test
- Added examples to jOOQ-examples module as submodules
- Split flyway migration in one more migration file
- Check in generated sources
2019-07-25 15:51:37 +02:00
Knut Wannheden
255f5481a5 [jOOQ/jOOQ#8900] Fix more Java 6 compatibility issues 2019-07-05 07:46:01 +02:00
Lukas Eder
af00823df5 [#4371] Add support for the JDK 9 Flow API (JSR-166 enhancements) and reactive streams 2019-05-13 11:37:08 +02:00
lukaseder
c8b7a10c4f [#7991] NullPointerException in QueryPartList.removeNulls with Java 11 and immutable collections 2018-11-01 17:02:31 +01:00
lukaseder
071dd9bc65 [#7734] Make the JAXB implementation dependency optional with a custom fallback implementation 2018-08-08 17:32:07 +02:00
lukaseder
3f76c48a0a [#7587] [#7658] Use --release flag in JDK 9+ based builds 2018-07-10 15:37:47 +02:00
lukaseder
c7060ef4cc [#7649]
jOOQ 3.11+ transitive dependency prevents it from being loaded on WebLogic 12.1.3
2018-07-10 10:09:23 +02:00
lukaseder
84c1376e5a [#7595] Add support for Java 11 2018-07-06 17:02:09 +02:00
lukaseder
798821b7dc [#7643] Use slf4j directly for logging, remove log4j dependency 2018-07-05 12:45:04 +02:00
lukaseder
965a925876 Removed unnecessary groupId re-definitions 2018-06-14 16:28:04 +02:00
lukaseder
333466038c [#7583] Add new <generatedAnnotationType/> flag to specify Generated annotation 2018-06-14 16:01:45 +02:00
lukaseder
98b8130f84 [#6612] Modularise jOOQ and cross-release JDK 8 and 9 builds 2018-06-12 14:26:32 +02:00
lukaseder
22b200a389 Release 3.12.0-SNAPSHOT 2018-06-08 10:03:57 +02:00
lukaseder
23df47ba4f Release 3.11.0 2018-06-07 16:45:37 +02:00
lukaseder
fd0aee60aa [#6879] Add javax.xml.bind:jaxb-api dependency and avoid using the implementation 2018-02-22 11:04:17 +01:00
lukaseder
059efb93e4 Release 3.11.0-SNAPSHOT 2017-09-29 15:49:30 +02:00
lukaseder
c3fdb76403 Release 3.10.0 2017-09-29 14:44:26 +02:00
lukaseder
e14839a6ef [#6611] [#6617] Automatic-Module-Name
- [#6611] Add Automatic-Module-Name to MANIFEST.MF
- [#6617] Specify <pluginManagement> in parent pom.xml
2017-09-28 18:11:23 +02:00
lukaseder
2470d00b29 [#6611] Updated Maven dependencies 2017-09-27 13:26:11 +02:00
lukaseder
d9fd8aa172 [#6521] Upgrade the optional/provided JPA API dependency to 2.2 2017-08-24 11:56:34 +02:00
lukaseder
bb57a0ce53 [#6155] Remove unneeded javax.validation dependency 2017-04-25 11:58:04 +02:00
lukaseder
95edee1228 [#6154] Remove test dependencies from OSS distribution 2017-04-25 11:54:43 +02:00
lukaseder
bafad065d7 [#6056] Upgrade optional logger dependencies 2017-04-25 11:49:49 +02:00
lukaseder
3459f4d1da [#6139] Move XJC generation to jOOQ-tools 2017-04-24 12:50:57 +02:00