Lukas Eder
e87b2eaa21
[ jOOQ/jOOQ#6456 ] Generate comments also on POJOs
2020-02-28 16:11:29 +01:00
Knut Wannheden
c56c8c28d1
[ jOOQ/jOOQ#6456 ] POJO setter/getter Javadoc generation
2020-02-28 15:03:54 +01:00
Lukas Eder
d16878f817
[ jOOQ/jOOQ#8805 ] DB2 implements a different default in the absence of FOR
2020-02-28 14:49:12 +01:00
Knut Wannheden
91ca536f8d
[ jOOQ/jOOQ#5218 ] MySQL 8: Render FOR SHARE instead of LOCK IN SHARE MODE
...
Rendering `FOR SHARE` instead of `LOCK IN SHARE MODE` has the advantage
that this allows specifying the `OF`, `NOWAIT`, and `SKIP LOCKED`
clauses.
2020-02-28 12:41:07 +01:00
Lukas Eder
7d034fdc0e
[ jOOQ/jOOQ#9900 ] Add TransactionalRunnable.of(TransactionalRunnable...) to compose nested transactions
2020-02-28 12:35:52 +01:00
Knut Wannheden
7365e753ae
[ jOOQ/jOOQ#5218 ] Support flags for all lock modes
...
The DSL API supports all of PostgreSQL's lock modes (`UPDATE`, `NO KEY
UPDATE`, `SHARE`, and `KEY SHARE`) and now also supports the `OF`
clauses and `WAIT`, `NOWAIT`, and `SKIP LOCKED` clauses for all lock
modes. Previously the DSL API did not support these clauses for the
`SHARE` mode and for all other modes the rendered SQL would always end
up using the `UPDATE` lock mode.
Whether a particular lock mode and clause combination is supported,
depends on the SQL dialect.
On the `SelectQuery` API the methods
`setForUpdate[Of|Wait|NoWait|SkipLocked]()` have all been marked as
deprecated in favor of the new methods
`setForLockMode[Of|Wait|NoWait|SkipLocked]()`.
2020-02-28 12:21:45 +01:00
Knut Wannheden
692e7470e2
[ jOOQ/jOOQ#9882 ] Add Refaster templatesfor SQLDialect#supports()
2020-02-28 07:25:41 +01:00
Knut Wannheden
e366ffa1f1
[ jOOQ/jOOQ#9897 ] Remove COCKROACHDB from stddevSamp() and varSamp()
...
Also, once implemented, the implementation will likely follow PostgreSQL
and the SQL standard. Thus `Term.java` was already adapted accordingly.
2020-02-27 14:49:37 +01:00
Knut Wannheden
f2163fce03
[ jOOQ/jOOQ#9896 ] DB2: Fix rendering of stddevSamp() and varSamp()
2020-02-27 14:26:35 +01:00
Knut Wannheden
dc2554caed
[ jOOQ/jOOQ#9894 ] DB2: Support more standard aggregate functions
2020-02-27 14:21:17 +01:00
Lukas Eder
cf5ecafa7b
[ jOOQ/jOOQ#8805 ] Fix parser behaviour for OVERLAY() in DB2
2020-02-27 12:53:53 +01:00
Lukas Eder
b95cc5fde8
[ jOOQ/jOOQ#9889 ] Add support for native ILIKE in H2
2020-02-27 12:42:00 +01:00
Lukas Eder
7301ef7764
[ jOOQ/jOOQ#9888 ] Support parsing some PostgreSQL specific operators
2020-02-27 12:28:47 +01:00
Knut Wannheden
cdae95bdd2
[ jOOQ/jOOQ#8592 ] Emulate CUME_DIST() for DB2 9 and 10
2020-02-27 11:24:39 +01:00
Knut Wannheden
556ff3e36b
[ jOOQ/jOOQ#8592 ] Emulate PERCENT_RANK() for DB2 9 and 10
2020-02-27 10:33:19 +01:00
Knut Wannheden
a402ec5023
[ jOOQ/jOOQ#8841 ] Redshift: Support native ILIKE operator
2020-02-26 15:32:10 +01:00
Knut Wannheden
8a006f67d5
[ jOOQ/jOOQ#9882 ] Deprecate SQLDialect#supports(Collection<SQLDialect>)
2020-02-26 15:21:30 +01:00
Lukas Eder
1c9f7f5a66
[ jOOQ/jOOQ#9866 ] Liquibase imports should use ClassLoaderResourceAccessor
2020-02-25 12:49:50 +01:00
Lukas Eder
db1d75b288
Merge pull request #9875 from Fadelis/feature/liquibase-changelog-table-names
...
[#9873 ] LiquibaseDatabase should use actual changeLog table names
2020-02-25 11:27:42 +01:00
Lukas Eder
b393fdd738
[ jOOQ/jOOQ#9872 ] Minor improvement
2020-02-25 11:17:46 +01:00
Lukas Eder
89f36f2f3b
Cosmetic changes
2020-02-25 11:16:18 +01:00
Lukas Eder
2d0409df23
[ jOOQ/jOOQ#9872 ] LiquibaseDatabase should use configured changeLogParameters.contexts when updating
2020-02-25 11:16:10 +01:00
Lukas Eder
eaeb60ec73
Merge pull request #9874 from Fadelis/feature/liquibase-contexts
...
[#9872 ] LiquibaseDatabase should use provided contexts on update
2020-02-25 11:11:05 +01:00
Fadelis
fbdc70e0a0
[ #9873 ] LiquibaseDatabase use correct changeLog table names as they might be overridden
2020-02-25 10:58:02 +01:00
Fadelis
fdb4bbd79d
[ #9872 ] LiquibaseDatabase should use provided contexts on update
2020-02-25 10:57:36 +01:00
Lukas Eder
c15f770d42
[ jOOQ/jOOQ#9833 ] Add missing @Support annotation to DSLContext#fetch*()
...
methods
2020-02-24 13:14:39 +01:00
Lukas Eder
630c7736eb
[ jOOQ/jOOQ#8805 ] Support OVERLAY() function
2020-02-24 12:53:21 +01:00
Lukas Eder
b1598ccbd9
[ jOOQ/jOOQ#9865 ] Fix a few REDSHIFT support annotations and DDL statements
2020-02-24 11:47:19 +01:00
Lukas Eder
e3d75812ca
[ jOOQ/jOOQ#9861 ] Add covariant overrides Record[N].with(Field, T) for
...
fluent setting of values on a Record
2020-02-21 14:13:40 +01:00
Knut Wannheden
f35493dc23
Cleanup: Remove some unwanted trailing spaces
2020-02-21 11:17:49 +01:00
Knut Wannheden
f84b15e04d
Cleanup: Simplify preprocessor's handling of whitespaces
2020-02-21 10:50:18 +01:00
Lukas Eder
27d422384a
[ jOOQ/jOOQ#7421 ] [ jOOQ/jOOQ#9832 ] Revert removal of FROM DUAL in MySQL
...
Newer versions of MariaDB and MySQL can do without FROM clause, so our "FROM dual" clause is no longer needed. There are some use cases in the jOOQ Open Source Edition (e.g. code generator), where wrong SQL is thus generated on MySQL 5.7. Thus, we'll postpone this improvement until we have a better solution.
2020-02-21 10:48:32 +01:00
Lukas Eder
4a63527e41
[ jOOQ/jOOQ#9849 ] Compilation error in generated code for check constraints containing bad escape sequences
2020-02-21 10:39:39 +01:00
Lukas Eder
8fafdb2286
[ jOOQ/jOOQ#9856 ] Parser cannot handle double quotes in string literals
2020-02-21 10:15:42 +01:00
Lukas Eder
40133a09af
Whitespace change
2020-02-21 09:23:51 +01:00
Lukas Eder
a0cbf450ba
[ jOOQ/jOOQ#4695 ] Fix regression
2020-02-21 09:23:32 +01:00
Lukas Eder
d8e8e1be2b
[ jOOQ/jOOQ#4695 ] Create separate Row[N] and Record[N] implementations
...
for each N
2020-02-20 17:23:04 +01:00
Knut Wannheden
0a55bad190
[ jOOQ/jOOQ#9825 ] Only build Refaster in Java 8+
2020-02-20 16:36:37 +01:00
Knut Wannheden
4df9b85bab
[ jOOQ/jOOQ#9825 ] Only run Refaster tests in Java 11
2020-02-20 16:19:04 +01:00
Knut Wannheden
9734362193
[ jOOQ/jOOQ#9825 ] Resynchronize .refaster files as binary files
2020-02-20 15:21:04 +01:00
Knut Wannheden
9faa244a0d
[ #282 ] Stop removing trailing spaces outside delimited code regions
2020-02-20 12:20:19 +01:00
Knut Wannheden
fff60947e1
[ jOOQ/jOOQ#9825 ] Enable building of jooq-test-refaster again
2020-02-19 17:24:45 +01:00
Knut Wannheden
1ae817a106
[ jOOQ/jOOQ#9825 ] Temporarily disable building of jooq-test-refaster
2020-02-19 17:14:53 +01:00
Knut Wannheden
68cf031531
[ jOOQ/jOOQ#9825 ] exec-maven-plugin appears to be broken
...
The `exec-maven-plugin` is supposed to use `${basedir}` as the working
directory (as one would expect), but it uses the parent process' working
directory. Also the existing `<workingDirectory>` parameter has no
effect...
2020-02-19 16:45:40 +01:00
Knut Wannheden
eb1ffec486
[ jOOQ/jOOQ#9825 ] Temporarily disabling step to combine Refaster files
2020-02-19 16:09:44 +01:00
Knut Wannheden
cb6bc67fd9
[ jOOQ/jOOQ#9825 ] Don't build jOOQ-refaster in Java 8 builds
...
`jOOQ-refaster` doesn't need to be built as part of the Java 8 builds
and in fact only causes problems.
2020-02-19 15:46:27 +01:00
Knut Wannheden
883cec7fe6
[ jOOQ/jOOQ#9825 ] Include jooq-refaster in builds
...
The `Splitter` now also copies the `jooq-refaster` and
`jooq-test-refaster` Maven modules for all relevant builds.
2020-02-19 14:42:00 +01:00
Lukas Eder
00e28e247f
Cosmetic fixes
2020-02-18 16:05:35 +01:00
Lukas Eder
5c6c00c99e
[ jOOQ/jOOQ#9842 ] Update error messages to refer to org.jooq.trial-java-8 Maven groupId
2020-02-14 17:40:17 +01:00
Lukas Eder
dd3ca6062d
Cosmetic fix
2020-02-14 14:03:19 +01:00