Commit Graph

9167 Commits

Author SHA1 Message Date
Lukas Eder
7cff2cae7e Release 3.15.0-SNAPSHOT 2020-10-20 10:20:20 +02:00
Lukas Eder
35085df134 [jOOQ/jOOQ#10753] Add support for ALTER TABLE .. SET NOT NULL in Oracle 2020-10-19 16:00:41 +02:00
Lukas Eder
b2f3540401 Removed unused imports 2020-10-19 10:45:45 +02:00
Lukas Eder
7ae97a8324 [jOOQ/jOOQ#10512] Fixed Javadoc 2020-10-19 10:44:53 +02:00
Lukas Eder
d1e2ddd14f [jOOQ/jOOQ#10750] Deprecate some internal field(String) and field(Name) implementations 2020-10-19 10:41:50 +02:00
Lukas Eder
690f1f9002 [jOOQ/jOOQ#3564] Emulate PostgreSQL's DISTINCT ON clause 2020-10-16 23:36:24 +02:00
Lukas Eder
57322fae99 [jOOQ/jOOQ#10064] Removed unused imports 2020-10-16 17:20:29 +02:00
Lukas Eder
f6b62537e3 [jOOQ/jOOQ#10064] noCondition() should generate TRUE, where BOOLEAN
types are supported
2020-10-16 17:19:51 +02:00
Lukas Eder
8fdbbcc500 [jOOQ/jOOQ#10064] trueCondition() and falseCondition() should generate TRUE and FALSE, where BOOLEAN types are supported 2020-10-16 16:48:20 +02:00
Lukas Eder
9a0f57a01c [jOOQ/jOOQ#9924] [jOOQ/jOOQ#9926] No synthetic TOP clause with FOR JSON
With FOR XML or FOR JSON, no synthetic TOP clause is required
2020-10-16 14:36:59 +02:00
Lukas Eder
48c39a7e04 [jOOQ/jOOQ#9924] [jOOQ/jOOQ#9926] Fix nested FOR JSON / XML emulation
FOR JSON / FOR XML clauses in correlated subqueries and other nested
selects were not emulated.
2020-10-16 14:21:42 +02:00
Lukas Eder
7405536f7c [jOOQ/jOOQ#10741] NullPointerException in SQLite Meta.migrateTo() when using DatabaseMetaData backed Meta containing FK referencing wrong identifier case 2020-10-15 10:56:24 +02:00
Lukas Eder
de8b04f942 [jOOQ/jOOQ#10738] NullPointerException in Meta.migrateTo() when using DatabaseMetaData backed Meta containing views 2020-10-14 11:47:31 +02:00
Lukas Eder
46e32fcef7 [jOOQ/jOOQ#8944] Workaround for Db2
In Db2, it is currently not possible to put scalar subqueries in JSON_OBJECT()'s VALUE clause, see https://stackoverflow.com/q/64350131/521799
2020-10-14 11:24:11 +02:00
Lukas Eder
ffd0d66576 [jOOQ/jOOQ#8950] Another workaround https://jira.mariadb.org/browse/MDEV-13701 2020-10-13 15:27:42 +02:00
Lukas Eder
c4bb6cb967 Upgrade junit to 4.13.1, use managed versions where available 2020-10-13 12:07:56 +02:00
Lukas Eder
d2fb073737 [jOOQ/jOOQ#10736] NullPointerExceptions when calling
DSLContext.informationSchema() with DSL.schema(Name) and similar meta
data
2020-10-13 12:07:42 +02:00
Lukas Eder
58ee7b5ade
Merge pull request #10731 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-spark-example/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-spark-example
2020-10-13 10:31:30 +02:00
Lukas Eder
33e861d61f
Merge pull request #10732 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-academy/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-academy
2020-10-13 10:31:01 +02:00
Lukas Eder
6c4f19d199
Merge pull request #10735 from jOOQ/dependabot/maven/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1
2020-10-13 10:30:06 +02:00
Lukas Eder
1cb6d1bdd8
Merge pull request #10733 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-javafx-example/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-javafx-example
2020-10-13 10:28:43 +02:00
dependabot[bot]
23255178c4
Bump junit from 4.13 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 08:27:29 +00:00
Lukas Eder
7b922a6985
Merge pull request #10734 from jOOQ/dependabot/maven/jOOQ-examples/jOOQ-oracle-example/junit-junit-4.13.1
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-oracle-example
2020-10-13 10:26:56 +02:00
dependabot[bot]
a4ad6dae38
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-oracle-example
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:46:06 +00:00
dependabot[bot]
b77dae3814
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-javafx-example
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:45:07 +00:00
dependabot[bot]
e080252d29
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-academy
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:40:41 +00:00
dependabot[bot]
63430f67d0
Bump junit from 4.13 to 4.13.1 in /jOOQ-examples/jOOQ-spark-example
Bumps [junit](https://github.com/junit-team/junit4) from 4.13 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 06:39:22 +00:00
Lukas Eder
58716d1d79 [jOOQ/jOOQ#3419] Implement getMoreResults() || getUpdateCount() != -1 protocol 2020-10-12 17:58:53 +02:00
Lukas Eder
d306146b6b [jOOQ/jOOQ#10060] Fix emulation of JSON_ARRAYAGG (<string>) 2020-10-12 14:01:26 +02:00
Lukas Eder
f695c41a0f Updated OSS edition 2020-10-12 09:11:25 +02:00
Lukas Eder
15799a7123 [jOOQ/jOOQ#10728] Add DSL.jsonEntry(Field) and DSL.jsonObject(Field...)
overloads that derive key value(s) from field name(s)
2020-10-12 09:10:56 +02:00
Lukas Eder
44f13d4b4b [jOOQ/jOOQ#6124] [jOOQ/jOOQ#10511] Use regexes instead of booleans
embeddable keys and domains configurations should not just be boolean flags turning the feature on and off, but regular expressions matching specific objects, as always. This way, the feature can be turned on e.g. only for 1 schema, or for some tables, etc.
2020-10-08 14:40:24 +02:00
Lukas Eder
6898989f84 [jOOQ/jOOQ#10719] [jOOQ/jOOQ#10720] MockConnection fixes
- [jOOQ/jOOQ#10719] Implement a fallback mechanism using standard JDBC API when vendor-specific API calls fail on MockConnection
- [jOOQ/jOOQ#10720] MockConnection must not produce first ResultSet when calling stored procedures with OUT parameters
2020-10-08 14:01:43 +02:00
Lukas Eder
6e13255f9c [jOOQ/jOOQ#10481] Fixed Scala code generation 2020-10-08 11:36:33 +02:00
Lukas Eder
cf276eaf3c [jOOQ/jOOQ#10481] Fixed Kotlin code generation 2020-10-08 11:14:45 +02:00
Lukas Eder
0166a3e1a2 [jOOQ/jOOQ#10481] Fixed Scala and Kotlin code generation 2020-10-07 17:33:58 +02:00
Lukas Eder
e31c815a10 [jOOQ/jOOQ#10481] Support <recordsImplementingRecordN/> 2020-10-07 16:58:26 +02:00
Lukas Eder
1dc14b306f [jOOQ/jOOQ#9017] Java 6 fixes 2020-10-07 10:22:45 +02:00
Lukas Eder
234eb9eb42 [jOOQ/jOOQ#9017] First draft for ROWNUM projection implementation 2020-10-07 10:13:46 +02:00
Lukas Eder
8a4d46deb3 [jOOQ/jOOQ#10692] Some JDBC drivers (e.g. Informix) do not implement Wrapper::isWrapperFor 2020-10-06 13:12:15 +02:00
Lukas Eder
e3a1693f4d [jOOQ/jOOQ#10665] Fix associativity regressions
Associativity is only given for two operands of the same data type. We must be careful not to touch the SQL generation logic for (DATE + INTERVAL) and other expressions
2020-10-06 10:54:47 +02:00
Lukas Eder
dd86389eb0 [jOOQ/jOOQ#10713] Upgrade SQLite JDBC dependency from 3.30 to 3.32 2020-10-06 10:07:28 +02:00
Lukas Eder
25783b8fe7 [jOOQ/jOOQ#7312] Use DSL syntax to benefit from test instrumentation 2020-10-06 10:05:18 +02:00
Lukas Eder
e2f357bac1 [jOOQ/jOOQ#10711] Emulate this for MariaDB 2020-10-05 20:21:07 +02:00
Lukas Eder
2123d4a885 [jOOQ/jOOQ#9961] Do this only for scalar subqueries and derived tables, not for set operation subqueries 2020-10-05 17:06:01 +02:00
Lukas Eder
5f56deaa3f [jOOQ/jOOQ#10711] Emulate using WITH in UNION subqueries in dialects where this isn't supported 2020-10-05 12:17:23 +02:00
Lukas Eder
640e49ac78 Re-generated example code 2020-10-05 12:17:05 +02:00
Lukas Eder
def8ba781c [jOOQ/jOOQ#9961] Wrong SQL generated when using implicit joins in union subquery 2020-10-05 11:06:38 +02:00
Lukas Eder
427659975c [jOOQ/jOOQ#9902] Add Settings to apply native JSR 310 data type binding 2020-10-02 16:20:29 +02:00
Lukas Eder
dc47fdd342 [jOOQ/jOOQ#8139] scala.UninitializedFieldError in runtime using
generated data objects
2020-10-02 14:32:08 +02:00