Commit Graph

8821 Commits

Author SHA1 Message Date
Lukas Eder
dbc7475685 [jOOQ/jOOQ#4691] Add an unused forced type hint about Pattern.COMMENTS being turned on to help debug regexes with whitespace 2020-07-03 10:56:47 +02:00
Lukas Eder
c5ff404348 [jOOQ/jOOQ#10305] Excluded schema is still included in code generation
of foreign keys in PostgreSQL
2020-07-03 10:03:09 +02:00
Lukas Eder
9869001075 [jOOQ/jOOQ#10350] Document Kotlin meta data usage by the DefaultRecordMapper in Javadoc 2020-07-02 16:24:23 +02:00
Lukas Eder
81aa12f91c [jOOQ/jOOQ#10345] NON_BIND_VARIABLE_SUFFIXES should only be used in
PostgreSQL dialect
2020-07-02 15:47:42 +02:00
Lukas Eder
db093b3fc9 [jOOQ/jOOQ#6266] Java 6 fix 2020-07-02 15:40:51 +02:00
Lukas Eder
5c54196097 [jOOQ/jOOQ#10343] Make JSON::data, JSONB::data, and XML::data NotNull 2020-07-02 12:03:34 +02:00
Lukas Eder
d46a9a8a86 [jOOQ/jOOQ#7334] DataAccessException.sqlStateClass() always returns
OTHER for SQLite
2020-07-02 11:29:23 +02:00
Lukas Eder
bbcc30ac76 [jOOQ/jOOQ#10267] ImmutablePOJOMapperWithParameterNames throws
InaccessibleObjectException on module path
2020-07-02 10:36:25 +02:00
Lukas Eder
4924dfcb89 [jOOQ/jOOQ#8220] Row[N] predicates should wrap T argument values in Tools.field() to allow for raw type scalar subqueries 2020-07-01 16:24:09 +02:00
Lukas Eder
6c4da6436a [jOOQ/jOOQ#8553] Actual bug fix 2020-07-01 16:23:53 +02:00
Lukas Eder
58adc417bc [jOOQ/jOOQ#10339] orderProvider is not applied to AbstractDatabase.getSchemata0() 2020-07-01 15:18:44 +02:00
Lukas Eder
4b937703dc [jOOQ/jOOQ#10338] XMLGenerator should produce 1-based <ordinal_position/> in <key_column_usage/> 2020-07-01 15:02:43 +02:00
Lukas Eder
16c5efd354 [jOOQ/jOOQ#10336] jooq-meta.xsd shouldn't require table_type 2020-07-01 14:02:15 +02:00
Lukas Eder
d7e98c2d3d [jOOQ/jOOQ#8553] Updated PostgreSQL implementation 2020-07-01 13:47:54 +02:00
Lukas Eder
6852c9df66 [jOOQ/jOOQ#8553] Updated SQLite implementation 2020-07-01 12:57:10 +02:00
Lukas Eder
a1ec9b5169 [jOOQ/jOOQ#8553] FK and UK column count may mismatch
There might be a mismatch between FK and UK column count because of include/exclude pattern matching. Prevent an AIOOBE here
2020-07-01 12:41:04 +02:00
Lukas Eder
16e6075c81 [jOOQ/jOOQ#10335] NullPointerException when Database.setOnError(null) is called 2020-07-01 12:37:26 +02:00
Lukas Eder
ed29e0959e [jOOQ/jOOQ#8553] Add support for foreign keys referencing unique key
columns in different order than in the unique key definition

- Made HSQLDBDatabase ready for the feature (doesn't support it yet)
2020-07-01 12:01:29 +02:00
Lukas Eder
528c3d9434 [jOOQ/jOOQ#10334] MySQLRoutineDefinition uses HSQLDB's INFORMATION_SCHEMA.PARAMETERS table, not MySQL's 2020-07-01 09:52:01 +02:00
Lukas Eder
4e140b7062 [jOOQ/jOOQ#8553] Add support for foreign keys referencing unique key
columns in different order than in the unique key definition

- Added jOOQ-meta implementation
- Added H2Database implementation
2020-06-30 17:05:43 +02:00
Lukas Eder
8f9c389132 [jOOQ/jOOQ#8553] Add support for foreign keys referencing unique key
columns in different order than in the unique key definition

- Added new runtime meta API
- Added interpreter and org.jooq.Meta support
- Added code generation support
2020-06-30 16:28:25 +02:00
Lukas Eder
b1afee44cb [jOOQ/jOOQ#10139] Unknown columns in code generator queries for Firebird 2.5 2020-06-30 14:23:25 +02:00
Lukas Eder
c7438a7b5e [jOOQ/jOOQ#6244] Adapted Kotlin example code 2020-06-30 13:01:04 +02:00
Lukas Eder
9707e1ebd3 [jOOQ/jOOQ#10331] Split jOOQ-meta-extensions into jOOQ-meta-extensions-hibernate and jOOQ-meta-extensions-liquibase
This fixes [jOOQ/jOOQ#10268] Unrelated Liquibase error when using jooq-meta-extensions with Spring Boot
2020-06-30 12:50:29 +02:00
Lukas Eder
22df310c85 [jOOQ/jOOQ#8948] Support MariaDB JSON data type 2020-06-29 12:25:27 +02:00
Lukas Eder
5a4a25d58b [jOOQ/jOOQ#10326] Derby binary literals don't work with BLOB types 2020-06-29 09:59:46 +02:00
Lukas Eder
83a62a6b45 [jOOQ/jOOQ#8278] Interpret SQLite view source code to guess data types 2020-06-26 15:50:09 +02:00
Lukas Eder
c15c9dcbfb [jOOQ/jOOQ#7626] join(...).onKey(TableField) doesn't work with aliased tables 2020-06-26 15:49:44 +02:00
Lukas Eder
892766f8ff [jOOQ/jOOQ#9061] Wrong data types in meta lookups for expressions
DataTypeProxy needs to delegate the getQualifiedName() call
2020-06-26 14:13:24 +02:00
Lukas Eder
78f7c67f67 [jOOQ/jOOQ#9061] Wrong data types in meta lookups for expressions
When unqualified column names are part of expressions (e.g. ID + 1) then the data type information is lost on both the column reference and the whole expression.
2020-06-26 13:38:14 +02:00
Lukas Eder
77a3943a65 [jOOQ/jOOQ#9131] Support parsing MySQL BIT(1) value literals 2020-06-26 10:31:13 +02:00
Lukas Eder
917796f484 [jOOQ/jOOQ#8278] Interpret SQLite view source code to guess data types 2020-06-25 17:57:26 +02:00
Lukas Eder
463264dab5 [jOOQ/jOOQ#8829] Loader does not work with binary data in JSON 2020-06-25 17:18:03 +02:00
Lukas Eder
48aa76adc1 [jOOQ/jOOQ#8948] Map JSON/JSONB to CLOB/BLOB if JSON is not supported 2020-06-25 17:17:49 +02:00
Lukas Eder
730775b1d5 [jOOQ/jOOQ#8949] No effectively final in Java 6 2020-06-25 16:13:36 +02:00
Lukas Eder
92e39a692f [jOOQ/jOOQ#8949] Add CharsetProvider SPI 2020-06-25 12:34:34 +02:00
Lukas Eder
54f601c96e [jOOQ/jOOQ#10322] Add parser support for JSON, JSONB, and XML types 2020-06-25 11:55:25 +02:00
Lukas Eder
5dec930f82 [jOOQ/jOOQ#8948] Map JSON/JSONB to CLOB/BLOB if JSON is not supported 2020-06-25 11:44:29 +02:00
Lukas Eder
a8d77ff363 [jOOQ/jOOQ#8948] Map JSON / JSONB to CLOB/BLOB in HSQLDB 2020-06-25 11:21:20 +02:00
Lukas Eder
48c4ee5ed2 [jOOQ/jOOQ#10321] Add support for JSON / JSONB types in H2 2020-06-25 11:04:22 +02:00
Lukas Eder
605dc4c94e [jOOQ/jOOQ#9246] ALTER TABLE .. ADD UNIQUE INDEX syntax cannot be parsed 2020-06-24 17:26:41 +02:00
Lukas Eder
683d043322 Long source code workaround allocates substrings twice #10318 2020-06-24 16:08:12 +02:00
Lukas Eder
bd26c80cd3 [jOOQ/jOOQ#10315] Fix Derby regression 2020-06-24 12:20:45 +02:00
Lukas Eder
477fa58a44 [jOOQ/jOOQ#10317] Deprecate Context.formatIndentLockStart() and formatIndentLockEnd() 2020-06-24 12:14:04 +02:00
Lukas Eder
7aa5bbf6a8 [jOOQ/jOOQ#10315] Bad formatting of single WHEN CASE expression 2020-06-24 11:46:04 +02:00
Lukas Eder
39ba2ec9cf [jOOQ/jOOQ#10311] Javadoc of SQLDataType.INTERVAL is incorrect 2020-06-24 10:50:42 +02:00
Lukas Eder
8043e3577d [jOOQ/jOOQ#10313] SQLDialect.supportedBy() sets should be used with
contains(dialect), not contains(family)
2020-06-24 10:22:40 +02:00
Lukas Eder
aa2afc3b23 [jOOQ/jOOQ#10313] SQLDialect.supportedBy() sets should be used with
contains(dialect()), not contains(family())
2020-06-24 10:12:28 +02:00
Lukas Eder
cf84aa6757 [jOOQ/jOOQ#10128] Check dialect(), not family() 2020-06-24 09:35:51 +02:00
Lukas Eder
ca3fcb8570 This doesn't work 2020-06-23 11:55:44 +02:00