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
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
e4ba788abc
[ jOOQ/jOOQ#10264 ] Regenerated code
2020-06-10 16:27:16 +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
80896c75d0
[ jOOQ/jOOQ#6248 ] [ jOOQ/jOOQ#7682 ] Fix this for KotlinGenerator
2020-06-09 17:18:21 +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
9fe0bd8769
[ jOOQ/jOOQ#8028 ] Added issue link to code
2020-06-09 15:56:23 +02:00
Lukas Eder
0e4063ad5e
Merge pull request #10252 from lelle1234/master
...
Add empty comment after stmt in trigger.
2020-06-09 11:33:34 +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