Commit Graph

9619 Commits

Author SHA1 Message Date
Lukas Eder
cda7b1bc42 [jOOQ/jOOQ#11338] Add convenience for common bracing / formatting / indenting SQL rendering 2021-01-29 14:52:48 +01:00
Lukas Eder
a0449b67a4 [jOOQ/jOOQ#11334] Field.getDataType(Configuration) resets nullability 2021-01-29 14:07:22 +01:00
Lukas Eder
17742be57b [jOOQ/jOOQ#11336] Emulate CREATE OR REPLACE in MySQL
- FUNCTION
- PROCEDURE
- TRIGGEER
2021-01-29 13:40:16 +01:00
Lukas Eder
055015fda9 [jOOQ/jOOQ#11329] Deprecate XYZFinalStep types 2021-01-29 13:07:48 +01:00
Lukas Eder
4f5224e041 [jOOQ/jOOQ#11329] Remove new XYZFinalStep types again
XYZFinalStep types that have never been released, can be removed again, instead of going through a deprecation phase. These include:

- DropFunctionFinalStep
- DropProcedureFinalStep
- DropTriggerFinalStep
- CreateFunctionFinalStep
- CreateProcedureFinalStep
- CreateTriggerFinalStep
2021-01-29 11:23:37 +01:00
Lukas Eder
7b3dbc645e [jOOQ/jOOQ#11333] Add parser support for hash style comments (#) in MariaDB, MySQL 2021-01-29 11:04:55 +01:00
Lukas Eder
b35d11dfe3 [jOOQ/jOOQ#9190] Emulate OR REPLACE in MySQL 2021-01-29 10:48:48 +01:00
Lukas Eder
1c649bbc8b [jOOQ/jOOQ#9190] Refactored common FUNCTION and PROCEDURE logic 2021-01-29 10:34:32 +01:00
Lukas Eder
d9b912c2aa [jOOQ/jOOQ#9190] Support CREATE OR REPLACE FUNCTION / PROCEDURE 2021-01-28 23:44:52 +01:00
Lukas Eder
fa3058f7d3 [jOOQ/jOOQ#9190] Support OUT parameters in procedures 2021-01-28 17:40:52 +01:00
Lukas Eder
f620247007 [jOOQ/jOOQ#9190] Standardise RETURN 2021-01-28 16:38:25 +01:00
Lukas Eder
2fc91bab03 [jOOQ/jOOQ#9190] Add CREATE PROCEDURE support 2021-01-28 16:23:01 +01:00
Lukas Eder
cfdc38c081 [jOOQ/jOOQ#11330] Let Parameter<T> extend Variable<T> 2021-01-28 09:45:33 +01:00
Lukas Eder
fb83bee182 [jOOQ/jOOQ#9190] Add support for CREATE FUNCTION - WIP 2021-01-27 21:10:57 +01:00
Lukas Eder
501115c250 [jOOQ/jOOQ#9190] Add support for CREATE FUNCTION and CREATE PROCEDURE
- DSL API for CREATE FUNCTION
- Basic implementation for HSQLDB
- Simple integration test added
2021-01-27 20:48:22 +01:00
Lukas Eder
fbcb914e4b [jOOQ/jOOQ#9191] Add support for DROP FUNCTION and DROP PROCEDURE 2021-01-27 16:35:19 +01:00
Lukas Eder
a845bbcf17 [jOOQ/jOOQ#8230] Support parsing RAISE 2021-01-27 16:12:55 +01:00
Lukas Eder
939e20bf44 [jOOQ/jOOQ#11323] Add remark about DSL statements not being executable 2021-01-27 16:01:37 +01:00
Lukas Eder
c89b97d64c [jOOQ/jOOQ#11323] Add HSQLDB procedural language support 2021-01-27 15:17:19 +01:00
Lukas Eder
551c6a3a90 [jOOQ/jOOQ#8230] Support parsing SIGNAL 2021-01-27 14:48:17 +01:00
Lukas Eder
2b0bdf7387 [jOOQ/jOOQ#11323] Add HSQLDB procedural language support
This includes:

- [jOOQ/jOOQ#8230] Add support for RAISE or SIGNAL in the procedural API
- [jOOQ/jOOQ#6956] Add support HSQLDB CREATE TRIGGER
2021-01-27 14:29:45 +01:00
Lukas Eder
55793288a4 [jOOQ/jOOQ#11253] Work around Eclipse compiler bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=570511 2021-01-27 11:52:54 +01:00
Lukas Eder
aa946ead7f [jOOQ/jOOQ#10551] Add support for Apache Ignite
- Correct emulation of UPDATE/DELETE .. ORDER BY .. LIMIT
2021-01-27 10:07:03 +01:00
Lukas Eder
0c231407e0 [jOOQ/jOOQ#10844] Fixed regression 2021-01-27 10:06:50 +01:00
Lukas Eder
be1c88f19a [jOOQ/jOOQ#10551] Add support for Apache Ignite
- Support empty GROUP BY
2021-01-26 22:14:23 +01:00
Lukas Eder
94e12e4f90 [jOOQ/jOOQ#11319] JDBCDatabase produces empty string as default value everywhere 2021-01-26 22:13:52 +01:00
Lukas Eder
9bcc3a5ba5 Whitespace change 2021-01-26 15:44:56 +01:00
Lukas Eder
a037ebcb2c Whitespace change 2021-01-26 15:41:58 +01:00
Lukas Eder
61f95f7ddf [jOOQ/jOOQ#11309] ArrayDataType.toString() should indicate that it's an array type 2021-01-26 14:25:37 +01:00
Lukas Eder
e101b51ca8 [jOOQ/jOOQ#5310] DataType.toString() should generate DDL type
declaration fragment
2021-01-26 14:17:48 +01:00
Lukas Eder
144629babf [jOOQ/jOOQ#11307] PostgreSQL MetaImpl based DataTypes are missing length of array element type 2021-01-26 14:01:12 +01:00
Lukas Eder
d3c1229d4d [jOOQ/jOOQ#11304] ExecuteContext.exception() should accept null
exceptions and translate them to an unspecified DataAccessException
2021-01-26 09:48:37 +01:00
Lukas Eder
4993246f40 [jOOQ/jOOQ#10551] Add support for Apache Ignite
- Make IgniteDatabase dependent on JDBCDatabase
2021-01-26 09:48:16 +01:00
Lukas Eder
355168c2d9 [jOOQ/jOOQ#11302] Wrong Support annotation on ALTER TABLE .. RENAME
CONSTRAINT
2021-01-25 11:32:07 +01:00
Lukas Eder
72e0a123a7 [jOOQ/jOOQ#11275] NullPointerException when using InsertSetStep.set(Map) on plain SQL table with plain SQL field names 2021-01-25 10:26:12 +01:00
Lukas Eder
9d1d5ac261 [jOOQ/jOOQ#10551] Add support for Apache Ignite
- Native support for row value expression predicates
- More function support
- Join support
- Truncate support
- More DDL support
- DEFAULT support in DML
- Quantified comparison predicate support
- LIKE .. ESCAPE support
- Support system functions
2021-01-25 09:33:12 +01:00
Lukas Eder
5a37f1b3ee [jOOQ/jOOQ#11299] SQLite's DSL.extract() emulation should render an
explicit CAST(STRFTIME(...) AS INT)
2021-01-25 09:31:48 +01:00
Lukas Eder
470d54272b [jOOQ/jOOQ#11107] Parse 3-argument Oracle INSTR() function 2021-01-23 10:37:04 +01:00
Lukas Eder
cfe0e4937e [jOOQ/jOOQ#10551] Add support for Apache Ignite 2021-01-22 21:14:24 +01:00
Lukas Eder
5d027014a0 [jOOQ/jOOQ#11107] Parse 3-argument SQL Server CHARINDEX() function 2021-01-22 21:07:39 +01:00
Lukas Eder
38568e5814 [jOOQ/jOOQ#10551] Add support for Apache Ignite
- No support for fetching generated keys
- More DDL support
- More function support
2021-01-22 20:57:18 +01:00
Lukas Eder
56ebbfb62e [jOOQ/jOOQ#11295] POSITION(in, search, startIndex) emulation returns wrong result when search was not found 2021-01-22 20:57:04 +01:00
Lukas Eder
1c11fe7d6f [jOOQ/jOOQ#11286] Use org.jooq.Meta to discover SQLite primary key,
unique key, and foreign key names in code generator
2021-01-22 19:20:40 +01:00
Lukas Eder
c06bcfeec4 [jOOQ/jOOQ#11286] Use org.jooq.Meta to discover SQLite primary key, unique key, and foreign key names in code generator 2021-01-22 17:34:28 +01:00
Lukas Eder
35a70eb4bc [jOOQ/jOOQ#11292] AbstractMeta.getForeignKeys() and other key / index producing methods don't handle namespacing correctly 2021-01-22 17:12:07 +01:00
Lukas Eder
0cca2dc384 [jOOQ/jOOQ#11290] Parser parses PRIMARYKEY as PRIMARY KEY 2021-01-22 15:14:21 +01:00
Lukas Eder
6bc294580c [jOOQ/jOOQ#10823] Support MetaImpl backed Table.getKeys() for unique keys for remaining dialects 2021-01-22 14:50:49 +01:00
Lukas Eder
6bca99f0db [jOOQ/jOOQ#11287] NullPointerException in AbstractMeta.copyFK for SQLite
when a foreign key references a unique key
2021-01-22 13:35:56 +01:00
Lukas Eder
dc528e2f46 [jOOQ/jOOQ#11284] Wrong emulation of CREATE UNIQUE INDEX .. INCLUDE
This includes:
- [jOOQ/jOOQ#11280] Native support for CREATE INDEX .. INCLUDE in Db2
2021-01-22 10:21:01 +01:00
Lukas Eder
416fdaab4e [jOOQ/jOOQ#11281] Wrong SQLSTATE handled in Db2's CREATE INDEX IF NOT
EXISTS
2021-01-22 09:36:18 +01:00