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
Knut Wannheden
928124a5cf
[ jOOQ/jOOQ#8912 ] Add reference to trueCondition() and falseCondition()
...
The Javadoc deprecation notice for methods deprecated with
jOOQ/jOOQ#4763 now references the `DSL` methods `noCondition()`,
`trueCondition()`, and `falseCondition()`.
2019-08-09 14:51:40 +02:00
Knut Wannheden
2fcd73b7e4
[ jOOQ/jOOQ#9018 ] Update to 2.12.9 Scala compiler
2019-08-08 16:57:54 +02:00
Knut Wannheden
6c15996371
[ jOOQ/jOOQ#9011 ] Support CURRENT_TIMESTAMP(<precision>)
...
`DSL#currentTimestamp()` and `DSL#now()` have been overloaded with a
method declaring a `Field<Integer>` parameter, representing the
precision for the timestamp function. Many dialects support this.
Also the parser can now parse expressions like `NOW(6)`.
2019-08-08 10:42:02 +02:00
Knut Wannheden
1ec32db4bc
[ jOOQ/jOOQ#9009 ] Fix AbstractMeta constructor
...
Caches are now initialized lazily.
2019-08-06 18:38:54 +02:00
Knut Wannheden
7da5918be7
[ jOOQ/jOOQ#9009 ] Consistent caching in AbstractMeta
...
`AbstractMeta` now implements caching for all methods defined by the
`Meta` interface.
2019-08-06 18:37:34 +02:00
Knut Wannheden
116cd25994
[ jOOQ/jOOQ#8986 ] Fix DDLDatabaseInitializer for RenderNameCase.UPPER
...
DDLDatabaseInitializer could previously cause a StackOverflowError when
using RenderNameCase.UPPER or RenderNameCase.LOWER. This is now fixed.
2019-08-06 13:43:29 +02:00
Knut Wannheden
a4a7f0bfeb
[ jOOQ/jOOQ#8986 ] Fix regression in DDLDatabase
...
The "defaultNameCase" -> RenderNameCase mapping in DDLDatabase was
incorrect and caused problems.
Also explicitly declares a local variable as `final` for Java 6
compatibility.
2019-08-06 12:01:11 +02:00
Knut Wannheden
dc7ce900e9
[ jOOQ/jOOQ#8986 ] Extracted DDLDatabaseInitializer
...
Extracted new class DDLDatabaseInitializer from DDLDatabase. This new
class is in package `org.jooq.extensions.ddl` of Maven module
`jOOQ-extensions`.
As a consequence also renamed the configuration data keys
"org.jooq.meta.extensions.ddl.ignore-storage-clauses" and
"org.jooq.meta.extensions.ddl.parse-for-ddldatabase" to
"org.jooq.extensions.ddl.ignore-storage-clauses" and
"org.jooq.extensions.ddl.parse-for-ddldatabase" respectively.
2019-08-06 11:05:11 +02:00
Knut Wannheden
6a28099723
[ jOOQ/jOOQ#8939 ] Marking classes package protected
2019-08-06 10:03:44 +02:00
Knut Wannheden
46c07b6db1
[ jOOQ/jOOQ#8985 ] Add new empty jOOQ-extensions module
...
jOOQ-extensions is a new Maven module (Maven artifact name is
`jooq-extensions`) and will contain any code with third-party
dependencies.
2019-08-05 16:17:08 +02:00
Knut Wannheden
2825bbdf2a
[ jOOQ/jOOQ#9001 ] DefaultRecordMapper now uses RecordMapperProvider
...
Having the `DefaultRecordMapper` internally also use
`Configuration#recordMapperProvider()` is important when the user needs
control over how nested POJOs get mapped.
2019-07-31 14:54:31 +02:00
Knut Wannheden
acc47ecb37
[ jOOQ/jOOQ#8754 ] Remove more SQL templating
...
- Got rid of a few more SQL templating cases
- Removed some unnecessary nullSafe() calls
- Use nullSafeDataType() where appropriate
- Fix regression in OracleDSL#matches(Field, String, int)
2019-07-31 09:03:41 +02:00