Commit Graph

8794 Commits

Author SHA1 Message Date
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
Lukas Eder
474657a44b [jOOQ/jOOQ#10128] Add support for Postgres 12 materialized CTEs 2020-06-23 11:50:29 +02:00
Lukas Eder
f0414c4be8 [jOOQ/jOOQ#9554] not(unique(c)) / notUnique(c) and not(exists(c)) / notExists(c) should generate the same SQL 2020-06-22 17:03:21 +02:00
Lukas Eder
43048f1338 [jOOQ/jOOQ#10301] Columns are aliased by default to their own name, when using SQL Server parse dialect 2020-06-22 16:14:25 +02:00
Lukas Eder
788188c512 [jOOQ/jOOQ#10175] Added parser support for array_get(a, i) and a[i] 2020-06-22 12:50:26 +02:00
Lukas Eder
39db60b9b9 [jOOQ/jOOQ#10175] Add support for ARRAY_GET
This includes [jOOQ/jOOQ#10300] Add DataType.getArrayComponentType() and getArrayComponentDataType()
2020-06-22 12:33:23 +02:00
Lukas Eder
aad8d49ead [jOOQ/jOOQ#10175] Add support for CARDINALITY() function 2020-06-22 11:44:21 +02:00
Lukas Eder
6ef02d4576 [jOOQ/jOOQ#10299] Improve ParserImpl code reuse for single arg functions 2020-06-22 11:44:07 +02:00
Lukas Eder
a4d9601e0b Merge branch 'main' of https://github.com/jOOQ/jOOQ into main 2020-06-22 11:03:20 +02:00
Lukas Eder
5b881d717c [jOOQ/jOOQ#10175] Add support for CARDINALITY() function 2020-06-22 11:03:00 +02:00
Lukas Eder
6f4cf42ce0
Merge pull request #10296 from rweisleder/master-to-main-cleanup
Reflect branch renaming from master to main in CONTRIBUTING.md
2020-06-19 15:34:50 +02:00
Roland Weisleder
a049f3df37 Reflect branch renaming from master to main in CONTRIBUTING.md 2020-06-19 15:09:19 +02:00
Lukas Eder
0f2cadebb4 [jOOQ/jOOQ#6244] Add NotNull to Internal methods 2020-06-19 14:15:59 +02:00
Lukas Eder
1cc5a24967 [jOOQ/jOOQ#10291] Add support for CITEXT and VARCHAR_IGNORECASE types in parser 2020-06-19 14:06:30 +02:00
Lukas Eder
92285a998b [jOOQ/jOOQ#10295] Configuration.transactionProvider() is null after deserialisation 2020-06-19 13:06:20 +02:00
Lukas Eder
34d479cd96 [jOOQ/jOOQ#6244] Add nullability annotations to jOOQ API
- Name::first and Name::last are nullable
2020-06-19 12:11:40 +02:00
Lukas Eder
2f4997c435 [jOOQ/jOOQ#6244] Add nullability annotations to jOOQ API
- DataType.getSQLDataType() is nullable
2020-06-19 12:08:31 +02:00
Lukas Eder
824e689f19 [jOOQ/jOOQ#6244] Add nullability annotations to jOOQ API
- Generic type variable returning methods don't need to be annotated
- Annotated some SPIs
- Annotated Result, Cursor, and many other types
- Enhance AnnotationTest to validate jOOQ API without Support annotation
- Add InstrumentationTests to assert correctness of jOOQ-test-agent
- Don't expect annotations on XJC generated code
- Exclude default methods for now (Byte Buddy bug?)
- [jOOQ/jOOQ#10294] Remove methods from RenderContext and BindContext
2020-06-19 11:53:35 +02:00
Lukas Eder
0161a45ebe [jOOQ/jOOQ#6244] Add nullability annotations to jOOQ API (WIP)
This includes a partial implementation of [jOOQ/jOOQ#10292] Add org.jooq.Qualified
2020-06-18 15:19:44 +02:00
Lukas Eder
4aef6db5ef [jOOQ/jOOQ#6248] [jOOQ/jOOQ#10288] Add <pojosAsKotlinDataClasses/> to
the code generator to generate data classes
2020-06-17 12:34:59 +02:00
Lukas Eder
7712891962 [jOOQ/jOOQ#3713] [jOOQ/jOOQ#10191] Add <pojosAsScalaCaseClasses/> to the
code generator to generate case classes
2020-06-17 11:35:31 +02:00
Lukas Eder
f1c63cfc07 [jOOQ/jOOQ#3713] [jOOQ/jOOQ#10287] [jOOQ/jOOQ#10288]
Don't turn on <pojos/> by default in Scala/Kotlin
2020-06-16 19:38:46 +02:00
Lukas Eder
374d1af273 [jOOQ/jOOQ#3713] [jOOQ/jOOQ#10287] [jOOQ/jOOQ#10288]
Added configuration for Java records / Scala case classes / Kotlin data classes in code generator.
2020-06-16 17:43:00 +02:00
Lukas Eder
7570825334 [jOOQ/jOOQ#9404] Stop calling deprecated internal API 2020-06-16 17:04:26 +02:00
Lukas Eder
88dea0a908 [jOOQ/jOOQ#6736] Fixed formatting 2020-06-16 16:49:57 +02:00
Lukas Eder
06b94e5fa1 [jOOQ/jOOQ#6736] Added parser support 2020-06-16 16:35:49 +02:00
Lukas Eder
b9a1c6ead0 [jOOQ/jOOQ#6736] Add support for PostgreSQL ON CONFLICT .. WHERE <index_predicate> 2020-06-16 16:26:01 +02:00
Lukas Eder
681f14b2e8 [jOOQ/jOOQ#7172] [jOOQ/jOOQ#10274] Fix also SchemaImpl::equals
Just like TableImpl::equals, SchemaImpl::equals must not use getQualifiedName() yet, but call getCatalog() for it to work correctly with generated code.
2020-06-16 15:15:12 +02:00