Knut Wannheden
feb27a36d7
[ jOOQ/jOOQ#8923 ] Fix Javadoc of CustomType
...
The Javadoc of `CustomType` was accidentally reverted.
2019-08-29 16:58:55 +02:00
Knut Wannheden
2beb580df2
[ jOOQ/jOOQ#8923 ] Add @Deprecated annotations to XSDs
...
Updates the jooq-codegen and jooq-runtime XSDs to generate `@Deprecated`
annotations where applicable. Since this is the first change to these
two XSDs in 3.13, the files, namespaces, and all references are also
updated for the new release.
2019-08-29 16:52:02 +02:00
Knut Wannheden
d27dbf4117
Preparing master for 3.13 release cycle
2019-08-29 16:12:59 +02:00
Knut Wannheden
e96e6d1bcb
[ jOOQ/jOOQ#8995 ] Regenerate JAXB classes
...
Regenerates all JAXB classes to add Javadoc to with-methods (copied from
corresponding set-method).
2019-08-29 13:42:30 +02:00
Lukas Eder
b4a73dac11
[ jOOQ/jOOQ#8616 ] Correctly clone Settings.parseSearchPath
2019-08-28 15:33:03 +02:00
Lukas Eder
81556707a8
[ jOOQ/jOOQ#9090 ] Handle CTAS edge case
2019-08-28 12:12:54 +02:00
Lukas Eder
d6aef06e48
[ jOOQ/jOOQ#9090 ] CREATE TABLE fails with ParseWithMetaLookups.THROW_ON_FAILURE
2019-08-28 09:49:02 +02:00
Knut Wannheden
d2cb5570b2
[ jOOQ/jOOQ#8986 ] Consistent naming of "org.jooq.ddl" context data keys
...
Make sure all key references use a consistent "org.jooq.ddl" prefix.
2019-08-27 21:12:17 +02:00
Knut Wannheden
147345304b
[ jOOQ/jOOQ#8986 ] New DSLContext#meta(Source...) API
...
Adds a new internal `DSLContext#meta(Source...)` API which can be used to construct a `Meta` object for a list of DDL scripts (similarly to the existing `DDLDatabase`), but for other use cases such as the `Parser`.
This new method uses the new internal `Source` abstraction to represent a DDL script, which can be constructed using any of the existing static `of()` factory methods or optionally by a custom implementation class.
2019-08-27 21:11:30 +02:00
Knut Wannheden
d092e1b6ef
[ jOOQ/jOOQ#9082 ] ResultQuery.fetchStream() and similar overloads should add an explicit statement about resulting streams being resourceful
2019-08-27 21:10:27 +02:00
Knut Wannheden
d1c9c8f9da
[ #25 ] Upgrade various Maven dependencies and plugins
2019-08-27 13:21:48 +02:00
Lukas Eder
feed7665c9
[ jOOQ/jOOQ#9078 ] Improve MockFileDatabase error message "Invalid SQL"
2019-08-26 10:21:30 +02:00
Knut Wannheden
2b3532d4c5
[ jOOQ/jOOQ#9063 ] Support ALTER TABLE ... DROP PRIMARY KEY for Derby
2019-08-23 10:06:36 +02:00
Knut Wannheden
5830b1b0d5
[ jOOQ/jOOQ#9071 ] Fix for DefaultConfiguration#derive()
...
`DefaultConfiguration#derive()` could lead to surprising effects because
the derived `Configuration` would be linked to a `MetaProvider` which
still referenced the original `Configuration`.
2019-08-22 14:24:10 +02:00
Knut Wannheden
66a45669c4
[ jOOQ/jOOQ#8918 ] Use Java 6 compatible SchemaFactory API
2019-08-21 17:15:41 +02:00
Knut Wannheden
fb01e29114
[ jOOQ/jOOQ#9070 ] Use new constants in MiniJAXB
2019-08-21 15:31:57 +02:00
Knut Wannheden
bda1ec9b7f
[ jOOQ/jOOQ#8918 ] Log warnings regarding unknown elements
...
The `MiniJAXB` implementation now attempts to validate the input XML against the corresponding XSD schema and will log warnings when there are validation errors (e.g. unknown elements).
2019-08-21 15:29:00 +02:00
Lukas Eder
590cdf1821
[ jOOQ/jOOQ#9070 ] Add Constants.CP_RUNTIME and other values
2019-08-21 15:03:42 +02:00
Lukas Eder
4356de54b2
[ jOOQ/jOOQ#9065 ] Parser does not support NVARCHAR2
2019-08-21 10:54:13 +02:00
Knut Wannheden
25cc3e6fd9
[ jOOQ/jOOQ#8238 ] Support DSL#convert() for POSTGRES
...
Adds POSTGRES support to `DSL#convert()`.
2019-08-20 14:13:57 +02:00
Knut Wannheden
6220688ca2
Cleanup: Delete some no longer relevant examples and log4j.xml files
2019-08-20 13:31:08 +02:00
Knut Wannheden
eaadafa8bf
Cleanup: Remove some unnecessary preprocessor whitespace
2019-08-20 12:42:23 +02:00
Knut Wannheden
3933ad94ee
[ jOOQ/JOOQ#9064 ] Support HSQLDB in DSL#week()
2019-08-20 10:03:52 +02:00
Knut Wannheden
345fbe29fb
[ jOOQ/jOOQ#9063 ] Add HSQLDB to AlterTableStep#dropPrimaryKey()
2019-08-20 09:52:23 +02:00
Knut Wannheden
e5768e6b51
[ jOOQ/jOOQ#9062 ] Add internal AlterTableImpl#dropColumns0()
...
Extract `AlterTableImpl#dropColumns()` into
`AlterTableImpl#dropColumns0()` which is now also directly called by
`AlterTableImpl#dropColumn()`.
2019-08-20 09:44:33 +02:00
Knut Wannheden
8ec0f771a7
[ jOOQ/jOOQ#9015 ] Add support for unqualifiedSchema in JPADatabase to
...
prevent generating the H2 PUBLIC schema
2019-08-20 09:43:44 +02:00
Lukas Eder
0e63ae8064
[ jOOQ/jOOQ#9059 ] DSLContext.ddl(Catalog) does not correctly create cross schema foreign key constraints.
2019-08-19 11:40:55 +02:00
Lukas Eder
796c8260c1
[ jOOQ/jOOQ#9058 ] Undocument use-attribute-converters in favour of useAttributeConverters
2019-08-19 11:21:29 +02:00
Lukas Eder
47ce44f247
Merge branch 'master' of https://github.com/jOOQ/jOOQ
2019-08-16 16:58:56 +02:00
Lukas Eder
d2982c92fc
[ jOOQ/jOOQ#9049 ] Stop shipping the Sakila database over the zip files
...
downloaded from the website
2019-08-16 16:58:29 +02:00
Knut Wannheden
2202e4f21a
[ jOOQ/jOOQ#7545 ] Use ForcedType#withIncludeExpression() in JPADatabase
...
Using the legacy ForcedType#withExpression() results in a logged
warning.
2019-08-16 14:04:57 +02:00
Lukas Eder
0f5b8799b9
[ jOOQ/jOOQ#9048 ] Delete module-info.java.invalid files
2019-08-16 14:02:45 +02:00
Lukas Eder
4c9a718efe
Release 3.11.12
2019-08-16 13:56:22 +02:00
Knut Wannheden
a144a1402d
[ jOOQ/jOOQ#8964 ] Always cast decimals with scale in toSQL92Values()
...
The SQL Server workaround does not always work correctly when the
`CAST()` is only applied to the values of the first row.
2019-08-15 16:53:24 +02:00
Lukas Eder
56d25586cc
[ jOOQ/jOOQ#9043 ] Provide minimal internal implementation
2019-08-15 16:18:27 +02:00
Knut Wannheden
c6eaa9ef3c
[ jOOQ/jOOQ#8964 ] Fix bulk INSERT of DECIMAL with scale values
...
SQL Server has a bug when it comes to bulk inserting DECIMAL with scale
values (see https://github.com/microsoft/mssql-jdbc/issues/1021 for
details). As a workaround jOOQ will in this scenario explicitly cast the
corresponding column values in the bulk set.
2019-08-15 15:18:22 +02:00
Knut Wannheden
ad60d8e198
Revert "[ jOOQ/jOOQ#8964 ] Fix bulk INSERT of DECIMAL with scale values"
...
This reverts commit e929ea561728f521b38ce860d0937ea96ab092f9.
2019-08-15 15:15:31 +02:00
Knut Wannheden
fcf927b271
[ jOOQ/jOOQ#2059 ] Update module-info with MemSQL export
...
Also adds missing `org.jooq.meta.tools` export.
2019-08-15 15:14:24 +02:00
Lukas Eder
0450643f1f
[ jOOQ/jOOQ#9034 ] JDBCUtils.driver(String) returns deprecated "com.mysql.jdbc.Driver"
2019-08-15 09:13:40 +02:00
Knut Wannheden
8c7d18343d
[ jOOQ/jOOQ#9037 ] Add missing @Support annotations to CaseWhenStep
...
Annotation was missing on mapFields() and mapValues().
2019-08-14 16:47:46 +02:00
Knut Wannheden
fb26959736
[ jOOQ/jOOQ#9036 ] Add @Support to SelectSeekStep<N> types
...
Annotation was missing on SelectSeekStep<N> type methods.
2019-08-14 16:35:25 +02:00
Knut Wannheden
9a55140c2f
[ jOOQ/jOOQ#9035 ] TERADATA support for onDuplicateKeyUpdate()
...
TERADATA was missing in the `@Support` annotation of
`InsertOnDuplicateStep#onDuplicateKeyUpdate()`.
2019-08-14 16:34:10 +02:00
Lukas Eder
5828de119c
[ jOOQ/jOOQ#9028 ] Fix also ALTER SEQUENCE statement
2019-08-13 16:08:27 +02:00
Lukas Eder
b1d9fceddf
[ jOOQ/jOOQ#9030 ] Add AlterSequenceStep.restartWith(Field<? extends T>) overload
2019-08-13 16:06:47 +02:00
Lukas Eder
972c89c40b
[ jOOQ/jOOQ#9028 ] Translated sequence flags in CREATE SEQUENCE statement get turned into bind variables
2019-08-13 15:54:53 +02:00
Lukas Eder
bc897d026d
[ jOOQ/jOOQ#9022 ] Added Javadoc
2019-08-13 13:51:30 +02:00
Lukas Eder
e2a761e8d2
[ jOOQ/jOOQ#8993 ] NullPointerException when JDBC driver returns null on getGeneratedKeys call using ZDAL5 driver on MySQL
2019-08-13 11:35:39 +02:00
Lukas Eder
621ba842ed
[ jOOQ/jOOQ#9011 ] Fix parameter order
2019-08-13 10:57:14 +02:00
Lukas Eder
13523c6b8e
[ jOOQ/jOOQ#8985 ] Added jOOQ-extensions to build.xml
2019-08-12 12:02:43 +02:00
Knut Wannheden
a103670197
[ jOOQ/jOOQ#8596 ] Add MySQL support for onConflictOnConstraint()
...
Add `MYSQL` to `@Support` annotation on
`InsertOnDuplicateStep#onConflictOnConstraint()`, since this is
consistent with `InsertQuery#onConflictOnConstraint()` and supported for
the `doNothing()` step.
2019-08-09 16:21:39 +02:00