Knut Wannheden
a5d4c00b7a
[ #6971 ] Regenerated code from jooq-codegen-3.12.0.xsd
2019-04-10 16:25:51 +02:00
lukaseder
cd057d34d4
[ #461 ] [ #473 ] [ #2597 ] [ #8234 ] Unnecessary casts should no longer be ignored
...
Historically, SQL casts were ignored if jOOQ's Field<T> type was of the same type T as the cast type. This makes sense for some internals, but not in the public API. When a user wants to cast an expression, this should always produce a SQL cast.
2019-04-10 16:16:20 +02:00
lukaseder
5832e45eaf
[ #6971 ] Added missing class
2019-04-10 14:40:37 +02:00
lukaseder
320b7a5b85
[ #8505 ] Modules should reference managed H2 dependency
2019-04-10 14:27:30 +02:00
lukaseder
d3a19273ad
[ #8504 ] Remove manual from OSS repository
2019-04-10 14:26:36 +02:00
Knut Wannheden
df2ec439bc
[ #6971 ] Add <onError/> to generator's <configuration/>
...
Using the new <onError/> (which accepts the values FAIL (default), LOG,
and SILENT) the generator's behavior on an encountered exceptions can be
controlled.
2019-04-10 12:20:17 +02:00
lukaseder
929529ec7a
[ #8503 ] Make SET clause in ON DUPLICATE KEY UPDATE optional in parser
...
jOOQ parses a synthetic SET clause which is not supported by MySQL. This clause must be parsed optionally
2019-04-10 12:01:55 +02:00
lukaseder
3f84ccf58f
[ #8479 ] Emulate INSERT .. ON DUPLICATE KEY UPDATE .. WHERE on MySQL
...
MySQL doesn't support the useful WHERE clause on ON DUPLICATE KEY UPDATE like PostgreSQL does on ON CONFLICT. But it can easily be emulated using CASE if users do not rely on the effective update counts.
2019-04-10 11:52:56 +02:00
lukaseder
72eda66bdf
[ #8434 ] Support H2 v1.4.198 array syntax
...
H2 1.4.198 changed array syntax incompatibly to align the syntax with PostgreSQL, HSQLDB, and the SQL standard. The old syntax (which conflicts with row value expression) is no longer really supported.
2019-04-10 11:50:28 +02:00
lukaseder
6d630cd53a
[ #8434 ] Support H2 v1.4.198 array syntax
...
H2 1.4.198 changed array syntax incompatibly to align the syntax with PostgreSQL, HSQLDB, and the SQL standard. The old syntax (which conflicts with row value expression) is no longer really supported.
2019-04-10 11:12:28 +02:00
lukaseder
a55a362fd8
[ #8502 ] Add support for H2 1.4.198 row value expression subquery syntax
...
H2 breaks backwards compatibility in 1.4.198 and supports row value expressions at the price of desupporting the "old" vendor specific array syntax. This means we can now remove some H2 specific logic and implement standard row value expression syntax also for H2
2019-04-09 17:49:26 +02:00
lukaseder
19b19411c0
[ #8493 ] Support JSR 310 types as <name/> in <forcedType/> data type rewriting feature
...
Some SQLDataTypes are "synthetic" aliases of other types, and as such could not yet be used as forcedType names because they were not recognised, despite what the manual says.
2019-04-09 17:08:10 +02:00
Knut Wannheden
ab3ea42784
Release 3.11.11
2019-04-09 16:38:32 +02:00
Knut Wannheden
f50f71eb9f
[ #8429 ] Fix escaping in AbstractField#endsWith(Object)
...
Since client code can specify a different value when the query is being
executed, the escaping must be done in SQL rather than in Java. The same
applies to AbstractField#startsWith(Object) and some more LIKE-based
predicates.
2019-04-09 16:37:22 +02:00
lukaseder
f37d66de12
[ #8498 ] Add more documentation to the RETURNING clause
2019-04-09 12:45:51 +02:00
lukaseder
baeae9a24b
[ #7953 ] [ #8496 ] Search the hierarchy for a matching setter
2019-04-09 12:33:43 +02:00
lukaseder
af286d96b7
[ #8486 ] Add Settings.renderNamedParamPrefix to support dialect specific named parameter placeholders
2019-04-08 11:16:48 +02:00
lukaseder
dfaddcaca8
[ #7643 ] Updated slf4j once more
2019-04-05 17:32:00 +02:00
lukaseder
519e870394
[ #4498 ] emulate INSERT .. RETURNING via SQL Server OUTPUT clause (WIP)
2019-04-05 17:08:02 +02:00
lukaseder
2785bc84ae
[ #8491 ] Remove unnecessary marker tokens in source code
2019-04-05 11:52:34 +02:00
Knut Wannheden
420b4d28d3
[ #7789 ] Update Travis configuration to Java 11 and Maven 3.6.0
2019-04-05 10:57:11 +02:00
Knut Wannheden
ed38769655
[ #7789 ] Change Maven projects to use Java 11
2019-04-05 10:36:37 +02:00
Knut Wannheden
24db79da74
[ #8489 ] Add TableImpl#fieldsRow() override due to Scala compiler bug
2019-04-04 17:51:57 +02:00
Knut Wannheden
7fcbc8e135
[ #8484 ] Fix 3.11 <-> 3.12 mismatches between XSDs and Constants class
2019-04-04 12:14:56 +02:00
lukaseder
c0ada90f6e
[ #8478 ] ERROR: conflicting ColumnTypes while executing meta query on CockroachDB
2019-04-03 16:14:41 +02:00
lukaseder
b00f17efcf
[ #8477 ] Support views with renamed columns in SQLite's CREATE VIEW statement
2019-04-01 13:02:54 +02:00
lukaseder
92c45da529
[ #8409 ] Add support for plain SQL CREATE VIEW statements
2019-04-01 12:32:54 +02:00
lukaseder
78c4295e61
[ #8460 ] Regression calling POJO setters twice from DefaultRecordMapper.MutablePOJOMapper
2019-04-01 10:56:38 +02:00
lukaseder
c70eab4fca
[ #8471 ] Add a link in the manual from simple-crud to settings-return-all-on-store
2019-04-01 09:32:33 +02:00
lukaseder
3dcba4ea21
[ #8468 ] DataTypeException when org.jooq.Meta accesses PostgreSQL array column with default expression
2019-03-29 16:03:41 +01:00
lukaseder
d21a6877ce
[ #8463 ] Add <includeCheckConstraints/> flag to code generator
2019-03-29 16:03:34 +01:00
lukaseder
a088bec1af
[ #8463 ] Add <includeCheckConstraints/> flag to code generator
2019-03-29 15:08:59 +01:00
lukaseder
8f7e2f0dbf
[ #8465 ] Add a new <logSlowResultsAfterSeconds/> code generation flag
2019-03-29 15:00:41 +01:00
lukaseder
f39e15be04
[ #8464 ] Log slow result set fetching in code generator
2019-03-29 14:41:23 +01:00
lukaseder
3a6ea32896
[ #8456 ] Calling Record.get(0, int.class) returns null if value is not convertible to int
2019-03-26 17:10:29 +01:00
lukaseder
859a8da297
[ #7168 ] Work in progress
2019-03-26 15:53:48 +01:00
lukaseder
b19d8ef9b6
[ #7518 ] [ #8451 ] Add SQL parser support for PostgreSQL ILIKE
2019-03-26 15:00:37 +01:00
lukaseder
fc4860accc
[ #7518 ] [ #8401 ] Add support for Oracle REGEXP_LIKE
2019-03-26 14:41:10 +01:00
lukaseder
d6ef24811f
[ #8400 ] Fixed PostgreSQL Sakila deletion script
2019-03-26 14:40:57 +01:00
lukaseder
2ea2d93736
[ #8447 ] Add <sqlMatchesPartialQualification>
2019-03-26 10:54:54 +01:00
lukaseder
d31c34c91a
[ #8446 ] Add <sql> to <forcedType> to allow for matching columns with SQL
2019-03-26 10:36:30 +01:00
lukaseder
ee51450948
[ #8421 ] WIP CREATE and DROP SCHEMA in Informix
2019-03-26 09:11:30 +01:00
lukaseder
ebc1dce54c
[ #8401 ] Add support for parsing REGEXP, RLIKE, and LIKE_REGEX operators
2019-03-25 12:53:36 +01:00
lukaseder
40715b25d8
[ #8402 ] Bad SQL generated when setting data type and nullability in PostgreSQL's ALTER TABLE .. ALTER .. SET statement
2019-03-25 11:56:19 +01:00
lukaseder
6965dd4d1f
[ #8421 ] Support various DDL statements in Informix
2019-03-25 10:50:21 +01:00
lukaseder
de302f0cc5
[ #8430 ] Ignore ON { DELETE | UPDATE } NO ACTION in dialects that do not support the syntax
2019-03-25 10:49:56 +01:00
lukaseder
6b6627dc89
[ #8424 ] Better VALUES() emulation in Informix using TABLE(MULTISET)
2019-03-18 09:41:28 +01:00
lukaseder
6fa0d3ccad
[ #8423 ] Typo in manual example code for dynamic SQL
2019-03-15 16:11:37 +01:00
lukaseder
ce73802a32
[ #8413 ] Rollback should not be called when TransactionListener.commitEnd() throws exception
2019-03-14 15:34:45 +01:00
lukaseder
b0957ac814
[ #8407 ] Add code generation configuration flag to set Connection.setAutoCommit()
2019-03-14 14:44:04 +01:00