Commit Graph

9904 Commits

Author SHA1 Message Date
Lukas Eder
bf531df8f2 [jOOQ/jOOQ#11738] Added the optional, provided ojdbc dependency 2021-03-31 11:41:40 +02:00
Lukas Eder
83103e8811 [jOOQ/jOOQ#11738] Added the optional, provided mssql-jdbc dependency 2021-03-31 10:53:45 +02:00
Lukas Eder
de5d49ed10 [jOOQ/jOOQ#11700] Make r2dbc a managed dependency 2021-03-31 10:00:50 +02:00
Lukas Eder
077685fbd2 [jOOQ/jOOQ#11718] Change retention to CLASS and make it @Internal 2021-03-31 09:27:23 +02:00
Lukas Eder
f2b529a230 [jOOQ/jOOQ#11718] Annotate DSL API with @CheckReturnValue to help detect when calling execute() etc is forgotten 2021-03-30 17:12:26 +02:00
Lukas Eder
3232924ab8 [jOOQ/jOOQ#11700] Support reactive BatchMultiple
This includes a few fixes:
- Add org.jooq.Publisher to implement Flow vs reactive-streams bridge 1x
- Use reactive-streams 1.0.3 Flow adapters instead of our own
- TODO for BatchSingle and BatchCRUD
- Fix terminology downstream/upstream (data flows downwards)
- Added a global test to check if all connections are closed
- Make sure Connection is closed once all data is forwarded
2021-03-30 16:08:14 +02:00
Lukas Eder
81f62485d4 [jOOQ/jOOQ#11733] Column INFORMATION_SCHEMA.COLUMNS.INTERVAL_TYPE not found in H2 1.4.197 2021-03-30 16:07:51 +02:00
Lukas Eder
ba52d86abb [jOOQ/jOOQ#11720] Fix VisitContext regression 2021-03-30 11:27:45 +02:00
Lukas Eder
8faaea0702 [jOOQ/jOOQ#11700] Support INSERT|UPDATE|DELETE .. RETURNING
This includes:

- [jOOQ/jOOQ#11720] XResultStep<R> should not extend X<R> for X<R> =
Insert<R> | Update<R> | Delete<R>
- [jOOQ/jOOQ#11190] UPDATE .. RETURNING cannot be used reactively
- [jOOQ/jOOQ#3185] Remove Fetchable<R> again
2021-03-30 11:03:47 +02:00
Lukas Eder
33e87d9555 [jOOQ/jOOQ#11549] Add startup tips to be logged with the jOOQ logo 2021-03-29 21:44:18 +02:00
Lukas Eder
a278efc687 [jOOQ/jOOQ#11660] Emulate CONNECT BY LEVEL < x and CONNECT BY ROWNUM < x 2021-03-29 21:03:21 +02:00
Lukas Eder
47542c9057 [jOOQ/jOOQ#11549] Add startup tips to be logged with the jOOQ logo
A first set of tips. More will be added soon
2021-03-29 19:32:32 +02:00
Lukas Eder
28ebf7118f [jOOQ/jOOQ#11549] Add startup tips to be logged with the jOOQ logo
A first set of tips. More will be added soon
2021-03-29 18:29:10 +02:00
Lukas Eder
655c2a16c1 [jOOQ/jOOQ#11700] Work around
https://github.com/oracle/oracle-r2dbc/issues/17
2021-03-29 17:37:17 +02:00
Lukas Eder
fd0c644b28 Upgraded Xtend 2021-03-29 13:30:56 +02:00
Lukas Eder
4a5f64d755 [jOOQ/jOOQ#11719] Add support for TO_DATE() in SQL Server 2021-03-29 13:30:52 +02:00
Lukas Eder
5eccac1744 Fixed some warnings 2021-03-29 10:53:07 +02:00
Lukas Eder
efaa429fde [jOOQ/jOOQ#11721] Wrong precision for H2 timestamp when using domains 2021-03-29 10:52:46 +02:00
Lukas Eder
d298eeca8c [jOOQ/jOOQ#11700] Work around https://bugs.openjdk.java.net/browse/JDK-8264275 2021-03-26 14:07:39 +01:00
Lukas Eder
6409400d56 [jOOQ/jOOQ#11700] [jOOQ/jOOQ#11190] Support INSERT .. RETURNING 2021-03-26 11:28:06 +01:00
Lukas Eder
4819e68743 [jOOQ/jOOQ#11700] Implement RowCountQuery.subscribe() 2021-03-25 21:53:54 +01:00
Lukas Eder
d7736fda19 [jOOQ/jOOQ#11700] Add support for array types 2021-03-25 17:54:53 +01:00
Lukas Eder
c5b98e36ad [jOOQ/jOOQ#11700] Make sure we maintain input bind indexes
The ParsingConnectionFactory currently ignores the actual bind index and uses them just for sorting the bind values. This is incorrect, in case a driver implementation support omitting bind values for a given index, e.g. when batching.
2021-03-25 16:36:18 +01:00
Lukas Eder
1b7a3684a4 [jOOQ/jOOQ#11712] Support parsing the ** exponentiation operator 2021-03-25 15:49:59 +01:00
Lukas Eder
9923e22bb5 [jOOQ/jOOQ#11711] Use floating point literals for inline DOUBLE, FLOAT, and REAL literals 2021-03-25 15:23:13 +01:00
Lukas Eder
db6f8efc22 [jOOQ/jOOQ#11700] Fix MariaDB and SQL Server bind variable usage
- SQL Server's R2DBC driver seems to only support named params
- Support fetchSize
- Support BINARY_FLOAT and BINARY_DOUBLE types in Oracle
- Support binding temporal types (R2DBC doesn't support java.sql types)
2021-03-25 09:06:28 +01:00
Lukas Eder
5fa2669f19 [jOOQ/jOOQ#11700] MariaDB and SQL Server don't support bind values yet 2021-03-24 16:47:36 +01:00
Lukas Eder
c6d049d9d7 [jOOQ/jOOQ#8821] Add Settings.parseNamedParamPrefix to support dialect
specific named parameter placeholders
2021-03-24 15:34:25 +01:00
Lukas Eder
a49950b831 [jOOQ/jOOQ#11700] Add a R2DBCPreparedStatement proxy
In order to re-use existing variable binding logic (and eventually, to
offer supporing org.jooq.Binding transparently), we'll implement an
R2DBCPreparedStatement proxy that wraps the R2DBC Statement in a JDBC
PreparedStatement and can thus use the existing lifecycle methods.
2021-03-24 13:39:50 +01:00
Lukas Eder
87d356de41 [jOOQ/jOOQ#11704] Don't use H2's obscure SQRT(-1) trick for NaN 2021-03-24 11:15:39 +01:00
Lukas Eder
abf27a50a0 [jOOQ/jOOQ#11700] Support plain SQL queries
A new R2DBC to JDBC ResultSetMetaData bridge helps re-use existing code to detect column names and types when we don't know them from the query.
2021-03-24 10:59:06 +01:00
Lukas Eder
9db3cf002f [jOOQ/jOOQ#11700] Add support for ResultQuery.getRecordType()
This allows for using selectFrom() and get UpdatableRecords (which can't be stored yet, but at least they have getters / setters).
2021-03-24 10:01:13 +01:00
Lukas Eder
74569c5989 [jOOQ/jOOQ#11700] Add R2DBC support
- Add non-blocking ResultQuery.subscribe() implementation (draft)
2021-03-23 22:14:42 +01:00
Lukas Eder
f27e57521f [jOOQ/jOOQ#11700] Add R2DBC support
- Add DSLContext.parsingConnectionFactory()
2021-03-23 17:35:34 +01:00
Lukas Eder
22d9f0758b [jOOQ/jOOQ#11704] WAT javac 8? 2021-03-23 15:05:04 +01:00
Lukas Eder
b4919c9862 [jOOQ/jOOQ#11707] SQUARE() should be emulated using POWER() if the argument is not a SimpleQueryPart 2021-03-23 14:55:08 +01:00
Lukas Eder
f163601be5 [jOOQ/jOOQ#11705] Add parser support for Firebird's BLOB SUB_TYPE syntax 2021-03-23 13:43:54 +01:00
Lukas Eder
e2cecab034 [jOOQ/jOOQ#11704] Support floating point NaN and (-)Infinity (WIP) 2021-03-23 13:36:19 +01:00
Lukas Eder
a1b22b1716 [jOOQ/jOOQ#11700] Add a jOOQ-r2dbc module (ignore for now) 2021-03-23 09:16:39 +01:00
Lukas Eder
5df798387b [jOOQ/jOOQ#6252] Infinity values not correctly escaped with PostgreSQL 2021-03-23 09:15:46 +01:00
Lukas Eder
9f0530cace [jOOQ/jOOQ#11699] Support parsing Oracle comparison operators with whitespace in between 2021-03-22 20:47:21 +01:00
Lukas Eder
7b7cd0e79f [jOOQ/jOOQ#11694] Parse TO_DATE(string) and TO_TIMESTAMP(string) 2021-03-22 17:55:13 +01:00
Lukas Eder
50825f5e1b [jOOQ/jOOQ#8334] Documented caching of ParsingConnection 2021-03-22 12:06:08 +01:00
Lukas Eder
8f7b51808e [jOOQ/jOOQ#11688] Remove experimental remarks from all parser API 2021-03-22 11:30:37 +01:00
Lukas Eder
733ad5c210 [jOOQ/jOOQ#11031] Add another comment regarding some tables not knowing their fields 2021-03-22 09:54:10 +01:00
Lukas Eder
0545969e8b [jOOQ/jOOQ#11684] Restore lazy Cache.key() behaviour 2021-03-21 19:59:43 +01:00
Lukas Eder
dda4215190 [jOOQ/jOOQ#11684] Cannot use ConcurrentHashMap.computeIfAbsent()
Because that would prevent calling it recursively due to an implementation flaw in the JDK method.
2021-03-21 19:31:25 +01:00
Lukas Eder
32b2170830 [jOOQ/jOOQ#11684] Lazy Cache.key() calculation to prevent allocations 2021-03-21 11:36:10 +01:00
Lukas Eder
6206129ddd [jOOQ/jOOQ#8334] ParsingConnection should cache frequent input / output SQL string pairs
This includes:
- [jOOQ/jOOQ#11684] Add a CacheProvider SPI to allow for overriding the default ConcurrentHashMap
2021-03-21 11:31:16 +01:00
Lukas Eder
b0ff984619 [jOOQ/jOOQ#11683] REPLACE should inline empty string parameter 2021-03-20 23:36:33 +01:00