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
5b881d717c
[ jOOQ/jOOQ#10175 ] Add support for CARDINALITY() function
2020-06-22 11:03:00 +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
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
Lukas Eder
9a60e71852
[ jOOQ/jOOQ#7172 ] [ jOOQ/jOOQ#10274 ] Fix regression
...
The previous fix for TableImpl::equals was incorrect when the schema is qualified with a catalog
2020-06-16 15:03:06 +02:00
Lukas Eder
2592960afe
[ jOOQ/jOOQ#10280 ] The method name is Meta.snapshot()
2020-06-16 12:23:52 +02:00
Lukas Eder
5f0de09cbc
[ jOOQ/jOOQ#10284 ] Add UDT.getPackage() in the OSS edition API
2020-06-16 11:53:23 +02:00
Lukas Eder
159b451f20
[ jOOQ/jOOQ#10279 ] Support identity in DetachedTable
2020-06-16 11:33:16 +02:00
Lukas Eder
06a665e4ba
[ jOOQ/jOOQ#10279 ] DetachedMeta fixes
...
- Copy check constraints in DetachedTable
- Use Name in constraints
- Copy sequence flags
- Copy enforced flag
- Create common AbstractMeta::lookupTable utility
- Support FKs referencing UKs
- TranslatingMetaProvderTest shouldn't read external files
- Reuse AbstractInterpreterTest logic in TranslatingMetaProviderTest
- [jOOQ/jOOQ#10281 ] AbstractKey.equals doesn't work for MetaPrimaryKey
- DetachedMeta.primaryKey must share identity with one of the UKs
- Copy TableOptions in DetachedMeta
2020-06-16 11:20:25 +02:00
Lukas Eder
18b394b47e
[ jOOQ/jOOQ#9404 ] AbstractKey and subtypes should accept Name instead of
...
string in constructors
2020-06-15 17:12:46 +02:00
Lukas Eder
580ea3e837
[ jOOQ/jOOQ#10280 ] Add Meta.detach() to create an in-memory copy of a Meta implementation
2020-06-15 17:12:36 +02:00
Lukas Eder
88aa871b8e
[ jOOQ/jOOQ#10204 ] No effectively final in Java 6
2020-06-12 16:29:04 +02:00
Lukas Eder
9034db7e16
[ jOOQ/jOOQ#7172 ] [ jOOQ/jOOQ#10274 ] Cannot use getQualifiedName() yet
...
here
2020-06-12 16:27:23 +02:00
Lukas Eder
c9a5c03ae1
[ jOOQ/jOOQ#10204 ] FilteredTable::getIdentity must lazy init keys
2020-06-12 16:10:59 +02:00
Lukas Eder
9dce966193
[ jOOQ/jOOQ#10204 ] Refactor CatalogMetaImpl
...
- CatalogMetaImpl should use FilteredMeta
- SchemaMetaImpl and TableMetaImpl are no longer necessary
- [jOOQ/jOOQ#10274 ] [jOOQ/jOOQ#7172 ] Some equals methods were adapted
- Fixed check constraints and identities
- Create copies of PK and UK using Internal API
- Support FKs referencing UKs
- [jOOQ/jOOQ#10276 ] Don't export FKs pointing outside of a schema subset
2020-06-12 15:51:11 +02:00
Lukas Eder
27a1cc85ec
[ jOOQ/jOOQ#10272 ] NPE in Interpreter when foreign key references table from other schema that does not exist
2020-06-12 10:48:57 +02:00
Lukas Eder
6887e4714c
[ jOOQ/jOOQ#10204 ] Filter PrimaryKey, Indexes
2020-06-12 10:39:27 +02:00
Lukas Eder
7e5aecc43e
[ jOOQ/jOOQ#10204 ] Add a way to filter out objects from org.jooq.Meta instances
2020-06-11 17:43:41 +02:00
Lukas Eder
2a09e89c4d
[ jOOQ/jOOQ#681 ] Create DomainImpl with Schema reference
2020-06-11 17:34:35 +02:00
Lukas Eder
12aa3f01e1
[ jOOQ/jOOQ#6278 ] Wrong DDL generated when using SQLDataType.TINYINT on SQL Server
2020-06-11 15:55:53 +02:00
Lukas Eder
a695f742f7
[ jOOQ/jOOQ#10271 ] Cannot create or drop catalog-qualified schema in SQL
...
Server
2020-06-11 15:02:45 +02:00
Lukas Eder
0303a99687
[ jOOQ/jOOQ#10269 ] Settings.renderQuotedNames does not work with Routine
2020-06-11 12:33:55 +02:00
Lukas Eder
8785396888
[ jOOQ/jOOQ#7673 ] Cannot call SQL Server stored procedure on HSQLDB
2020-06-11 12:27:47 +02:00
Lukas Eder
d6a38dbb55
[ jOOQ/jOOQ#2370 ] [ jOOQ/jOOQ#8528 ] Override TableOptions.toString()
2020-06-10 15:53:19 +02:00
Lukas Eder
24cf349eb2
[ jOOQ/jOOQ#3379 ] [ jOOQ/jOOQ#7667 ] Fix aliasing TVF
...
Table-valued function aliasing is confusing as the order of .call() and
.as() is relevant
2020-06-10 15:50:34 +02:00
Lukas Eder
34fd68ca82
[ jOOQ/jOOQ#8045 ] EnumConverter doesn't work when fromType is Kotlin Int
2020-06-09 16:17:25 +02:00
Lukas Eder
45bc661ab5
[ jOOQ/jOOQ#10258 ] Improve PostgreSQL dateAdd() implementation
2020-06-09 11:24:38 +02:00
Lukas Eder
67b5682012
[ jOOQ/jOOQ#10256 ] HSQLDB cannot handle negative DAY intervals when using
...
expression syntax
2020-06-09 09:48:39 +02:00
Lukas Eder
f1e10a9ee9
[ jOOQ/jOOQ#10254 ] Derby date time arithmetic uses unsupported sql_tsi_milli_second
2020-06-08 19:05:11 +02:00
Lukas Eder
81aab8f263
[ jOOQ/jOOQ#7900 ] Added Derby support
2020-06-05 15:40:29 +02:00
Lukas Eder
b56e93585b
[ jOOQ/jOOQ#7900 ] Added parser support
2020-06-05 15:06:25 +02:00
Lukas Eder
bf1def05b4
[ jOOQ/jOOQ#7900 ] Improved parameter names
...
MySQL and SQL Server do not agree on the order of parameters (MySQL
doesn't even agree with itself between DATEDIFF and TIMESTAMPDIFF!) We
need to name parameters to make this clear, and replicate the order of
SQL Server and MySQL's TIMESTAMPDIFF() in the new function.
2020-06-05 14:43:52 +02:00
Lukas Eder
754f1030fc
[ jOOQ/jOOQ#7900 ] Added HANA support
2020-06-05 11:46:50 +02:00
Lukas Eder
83d79bb9e4
[ jOOQ/jOOQ#7900 ] Added Oracle support
2020-06-05 11:37:03 +02:00