Knut Wannheden
e1b64b4987
[ #8694 ] Floor must switch over Configuration#family()
2019-05-28 11:30:59 +02:00
Lukas Eder
e8dab8a763
[ #7921 ] Prevent NPE from unattached queries
2019-05-28 10:28:49 +02:00
Lukas Eder
7b82eff279
[ #8691 ] Serialization fails when table contains SQLDataType.INSTANT
...
columns or when using Converter.ofNullable() converters
2019-05-27 12:45:40 +02:00
Lukas Eder
c60d7b5467
[ #7921 ] Support the feature for all dialects
2019-05-27 11:57:59 +02:00
Lukas Eder
cccc232aae
[ jOOQ/jOOQ#8657 ] Add DDLExportConfiguration.createSchemaIfNotExists and createTableIfNotExists flags
2019-05-27 10:33:16 +02:00
Lukas Eder
4921fdf6bc
[ #7921 ] Add support for Asterisk.except(Field...) and QualifiedAsterisk.except(Field...)
2019-05-27 09:44:36 +02:00
Lukas Eder
fea421868c
[ #8689 ] Generate LN function in H2, instead of LOG
2019-05-27 09:43:00 +02:00
Knut Wannheden
9c18aa464e
[ #8452 ] Support RAND() and RANDOM() in parser
2019-05-24 10:49:57 +02:00
Knut Wannheden
2dafae0c85
[ #8682 ] Corrected parsing of LOG() function
...
The SQL parser had reversed the "base" and "value" parameters when
parsing the LOG() function.
2019-05-24 10:30:02 +02:00
Knut Wannheden
293ccc7e2c
[ #8452 ] Implement parsing of SYS_CONNECT_BY_PATH
...
The parser can now parse Oracle's SYS_CONNECT_BY_PATH function used in
hierarchical queries.
2019-05-24 08:25:58 +02:00
Knut Wannheden
18a9017b21
[ #8675 ] CONNECT_BY_ROOT is now correctly parsed as an unary operator
...
Parsing CONNECT_BY_ROOT as a regular term lead to various smaller
glitches when used in expressions with other operators (of different
precedences). Parsing it as an unary operator and its operand as a term
fixes this problem.
2019-05-24 08:25:01 +02:00
Knut Wannheden
5f21af8d6d
[ #8675 ] Implement parsing of CONNECT BY operators and pseudo columns
...
The parser now properly parses Oracle's CONNECT_BY_ROOT,
CONNECT_BY_ISLEAF, and CONNECT_BY_ISCYCLE syntax.
2019-05-23 16:36:14 +02:00
Knut Wannheden
860a9b079e
[ #8646 ] Refactor AbstractDMLQuery#prepare()
...
Refactor AbstractDMLQuery#prepare() by extracting into prepare0() to
make sure that Tools#setFetchSize() will always get called.
2019-05-23 16:35:40 +02:00
Knut Wannheden
6f13d24232
[ #8646 ] Call Statement#setFetchSize(int) where applicable
...
Calling Statement#setFetchSize(int) can also make sense in other places
than AbstractResultQuery. Specifically it is now also called in
AbstractDMLQuery and AbstractRoutine.
In each case the fetch size will be determined using
Settings#getFetchSize(), except for AbstractResultQuery where the value
supplied via ResultQuery#fetchSize(int) takes precedence.
2019-05-22 11:01:20 +02:00
lukaseder
dd9b3e9f3e
[ #8616 ] Fix off-by-one error...
2019-05-21 16:58:17 +02:00
lukaseder
b83f9cc009
[ #8616 ] Add Settings.parseSearchPath
2019-05-21 16:34:36 +02:00
Knut Wannheden
444c2f0034
[ #8542 ] Add MySQL 8.0 support for LATERAL
2019-05-21 16:09:58 +02:00
Knut Wannheden
85a1d1f31e
[ #2059 ] Remove some MemSQL related code
2019-05-21 14:56:49 +02:00
Knut Wannheden
bc4d121aa9
[ #2059 ] Fix problem with code comment in Function.java
2019-05-21 14:46:31 +02:00
Knut Wannheden
35fc136643
[ #2059 ] Add MemSQL support
...
Implement support for new dialect SQLDialect#MEMSQL. Excluded from the
support are stored procedures, MemSQL specific DDL keywords, MemSQL
specific DML (like REPLACE), and for the time being also the PIVOT
clause (see #8643 ).
Approved-by: Lukas Eder
2019-05-21 14:38:06 +02:00
Lukas Eder
17df39efbc
[ jOOQ/jOOQ#8656 ] Add org.jooq.DDLExportConfiguration
2019-05-21 12:58:18 +02:00
Lukas Eder
fce9626b13
[ jOOQ/jOOQ#8615 ] Missing NOTICE file from commons-lang
2019-05-21 12:23:17 +02:00
Lukas Eder
cdf8ea7381
[ jOOQ/jOOQ#8660 ] Add support for synthetic ALTER TABLE .. DROP PRIMARY KEY <name> syntax
2019-05-21 11:20:05 +02:00
Lukas Eder
80bb688a75
[ #8654 ] Emulate MySQL's ALTER TABLE .. DROP PRIMARY KEY in PostgreSQL
2019-05-20 11:16:09 +02:00
Lukas Eder
5c17db88e8
[ #8201 ] Add support for EXECUTE for use in procedural blocks
2019-05-20 11:02:35 +02:00
Lukas Eder
159a2bbb26
[ #8650 ] Add support for MySQL's ALTER TABLE .. DROP PRIMARY KEY syntax
2019-05-20 10:25:34 +02:00
Lukas Eder
ebce61b0fc
[ #8649 ] Add support for MySQL's ALTER TABLE .. DROP FOREIGN KEY syntax
2019-05-18 16:47:48 +02:00
Lukas Eder
8d61fa4235
[ #8637 ] Support annotation mismatch between overloaded methods
2019-05-16 11:11:01 +02:00
Lukas Eder
626703b841
[ #8636 ] Missing PlainSQL annotations on some API
2019-05-16 10:08:13 +02:00
Knut Wannheden
496e381e79
[ #8634 ] Remove MySQL support for DROP INDEX IF EXISTS
...
MySQL does not support this and it cannot easily be emulated.
2019-05-16 08:03:33 +02:00
Lukas Eder
6f43106f47
[ #8627 ] Some Support annotation mismatches between DSLContext and DSL methods
2019-05-14 18:03:17 +02:00
Lukas Eder
f5c93ca6b9
[ #7518 ] [ #8623 ] Add parser support for TOP (n) in DML
2019-05-14 14:38:58 +02:00
Lukas Eder
9e348f28d0
[ #7163 ] More consistent method names
2019-05-14 13:52:41 +02:00
Lukas Eder
62c42944d3
[ #8619 ] Let Query subtypes extends RowCountQuery, which extends Publisher<Integer>
2019-05-13 12:39:47 +02:00
Lukas Eder
b1d992e33b
[ #8619 ] Let Query subtypes extends RowCountQuery, which extends Publisher<Integer>
2019-05-13 12:39:40 +02:00
Lukas Eder
af00823df5
[ #4371 ] Add support for the JDK 9 Flow API (JSR-166 enhancements) and reactive streams
2019-05-13 11:37:08 +02:00
Lukas Eder
4dc63312a8
[ #8606 ] Fixed this also for values(Field...)
2019-05-13 09:27:17 +02:00
lukaseder
00dbe54d69
[ #7163 ] WIP
2019-05-10 16:43:43 +02:00
lukaseder
4aa834c8d0
Merge branch 'master' of https://github.com/jOOQ/jOOQ
2019-05-09 21:09:30 +02:00
Knut Wannheden
971378a3b0
[ #8579 ] Implement parsing of UNIQUE predicate
2019-05-09 11:17:41 +02:00
Knut Wannheden
7d818d2f3f
[ #8294 ] Interactive mode is the default
2019-05-09 11:17:26 +02:00
Knut Wannheden
7a7350e508
[ #8606 ] Bad SQL generated when writing multi row insert query with
...
unknown column names (plain SQL table)
2019-05-09 11:17:00 +02:00
lukaseder
9f4754bac5
[ #8606 ] Bad SQL generated when writing multi row insert query with unknown column names (plain SQL table)
2019-05-07 18:04:14 +02:00
lukaseder
aa5e566d88
[ #8294 ] Interactive mode is the default
2019-05-07 18:04:04 +02:00
lukaseder
d87e6f1b93
Added missing Support annotations
2019-05-07 17:22:56 +02:00
lukaseder
0611a6713d
[ #8606 ] Bad SQL generated when writing multi row insert query with unknown column names (plain SQL table)
2019-05-07 17:22:37 +02:00
lukaseder
651fbc5973
[ #8604 ] Add support for DB2 multi ALTER TABLE ADD / DROP statements
2019-05-06 13:13:51 +02:00
lukaseder
b3b7090495
[ #8603 ] DB2 CREATE TABLE IF EXISTS emulation should ignore SQLState 42710, not 42704
2019-05-06 13:03:53 +02:00
lukaseder
034c2db718
[ #8602 ] Add support for DB2 translate
2019-05-06 12:55:56 +02:00
Knut Wannheden
8ede6ac357
[ #8593 ] The row_number emulation is only needed in the pro editions
2019-05-03 16:10:13 +02:00
Knut Wannheden
b61f2d0c9b
[ #8593 ] DB2 ranking functions require an ORDER BY clause
2019-05-03 16:01:07 +02:00
Knut Wannheden
554b8fcd1e
[ #8596 ] Support more DML for MySQL
...
Added some missing @Support annotations.
2019-05-03 15:48:55 +02:00
Knut Wannheden
58cb9e5692
[ #8595 ] Support more MySQL DDL
...
CREATE SCHEMA, CREATE OR REPLACE VIEW, and DROP SCHEMA.
2019-05-03 15:48:37 +02:00
lukaseder
cad39d4e62
[ #8593 ] DB2 ranking functions require an ORDER BY clause
2019-05-02 13:39:10 +02:00
Knut Wannheden
a7a0a02d3c
[ #8591 ] Extract DSL#unnest() into private unnest0()
...
This refatoring is done in order to avoid @Support annotated methods
(with incompatible sets of dialects) calling each other.
2019-05-02 11:59:55 +02:00
Knut Wannheden
3d94a4885e
[ #8590 ] Support for SQLite EXPLAIN
2019-05-02 11:33:32 +02:00
Knut Wannheden
696d953036
[ #8588 ] Add SQLite support for partial indexes
...
Adds SQLite to the @Support annotations of CreateIndexWhereStep.
2019-05-02 11:33:13 +02:00
Knut Wannheden
82f18d0129
[ #8582 ] Support AURORA_MYSQL in MySQLDSL
...
Add AURORA_MYSQL to @Support annotations of MySQLDSL.
2019-05-01 13:34:47 +02:00
lukaseder
cc4d7cd837
[ #8573 ] Outdated Javadoc on ExecuteType.DDL
2019-04-29 10:52:55 +02:00
lukaseder
6ad62ad5b7
[ #7518 ] [ #8572 ] Add parser support for RATIO_TO_REPORT
2019-04-29 10:24:24 +02:00
lukaseder
0e50536a3e
[ #8570 ] Wrong Javadoc on Record.setValue()
2019-04-29 09:47:50 +02:00
Knut Wannheden
50ac9e746c
[ #1699 ] Support UNIQUE constraint
...
Add DSL#unique(Select) which represents the standard SQL "UNIQUE"
constraint. Since no of the supported dialects natively support UNIQUE,
the constraint is always emulated as a NOT EXISTS predicate (and NOT
UNIQUE is emulated as a corresponding EXISTS predicate). See the
following example:
NOT EXISTS (
SELECT NULL
FROM (SELECT 1 a, 2 b UNION ALL SELECT 1 a, 2 b) t
WHERE (a, b) IS NOT NULL
GROUP BY a, b
HAVING count(*) > 1
)
2019-04-24 11:51:58 +02:00
Knut Wannheden
323b8cc36b
Added Knut to ABOUT.txt
2019-04-24 11:51:29 +02:00
lukaseder
fc8f74ed87
[ #7851 ] DSL.coerce() should use argument field's qualified name
2019-04-24 10:34:54 +02:00
lukaseder
65ce24294c
[ #8561 ] Wrong cast generated for Informix and others when casting a LocalDateTime value
2019-04-23 15:34:12 +02:00
lukaseder
60d856075e
[ #8560 ] Add support for calling stored functions with defaulted parameters from SQL in Oracle
2019-04-23 14:31:11 +02:00
Knut Wannheden
8f616025c2
[ #8511 ] Updated DefaultRenderContext#SQLITE_KEYWORDS to SQLite 3.28
...
Updated DefaultRenderContext#SQLITE_KEYWORDS to include all keywords in
SQLite 3.28. See https://www.sqlite.org/lang_keywords.html .
2019-04-23 14:06:25 +02:00
lukaseder
d67d04b19a
[ #8557 ] StackOverflowError when using same query instance on both sides of a set operation
...
In jOOQ 3.x, the DSL API is mostly mutable. For set operations, this means that a query x cannot appear on both sides of the set operation, e.g. x.union(x) is not possible.
2019-04-23 10:31:07 +02:00
lukaseder
9323e819c3
[ #8548 ] Missing H2 support on WindowExcludeStep.excludeNoOthers()
2019-04-23 09:39:11 +02:00
lukaseder
fa9422521f
[ #8548 ] Add support for SQLite window function extensions from version 3.28
2019-04-18 18:01:12 +02:00
lukaseder
6860388843
[ #8552 ] Add SQLDialect.supports(Collection<SQLDialect>)
2019-04-18 17:46:08 +02:00
lukaseder
c7beac5ae3
[ #8547 ] Add SQLDialect.SQLITE_3_28 and SQLDialect.SQLITE_3_25
2019-04-18 16:26:06 +02:00
lukaseder
a7215a91ba
[ #8551 ] Support old SQLDialects only in commercial distributions
2019-04-18 16:11:37 +02:00
lukaseder
b7e6923f34
[ #8502 ] Missing annotation
2019-04-18 10:56:29 +02:00
Knut Wannheden
e24d186330
[ #8433 ] INSERT ... ON CONFLICT clause for SQLite
...
As of version 3.24.0 SQLite natively supports INSERT's ON CONFLICT
clause, which can thus also be used by jOOQ.
Note: SQLite doesn't support combining DEFAULT VALUES with ON CONFLICT.
And since SQLite does not support the DEFAULT keyword in INSERT the
DEFAULT VALUES clause cannot be emulated.
2019-04-18 10:48:37 +02:00
Knut Wannheden
861c4422c7
Regenerate JAXB code
...
Specify <noFileHeader> option to maven-jaxb2-plugin and also normalize
line terminators to UNIX style.
2019-04-18 10:22:24 +02:00
lukaseder
b65a945c91
[ #8539 ] Add alias DSL.default_() for DSL.defaultValue()
2019-04-17 14:27:43 +02:00
lukaseder
c5903425ee
[ #8537 ] Parsing CREATE SEQUENCE always leads to quoted sequence names
2019-04-17 13:38:03 +02:00
lukaseder
be6200e1ba
[ #8522 ] Added integration test for chained function calls
2019-04-16 16:55:15 +02:00
Knut Wannheden
56fe33475d
[ #8529 ] Clean up Javadoc for INSERT ... ON CONFLICT
...
Improves the DSL Javadoc for INSERT ... ON [ CONFLICT | DUPLICATE KEY ]
2019-04-16 16:22:16 +02:00
lukaseder
97f8700abf
[ #8531 ] Wrong Context.subqueryLevel() when emulating derived column lists
...
If a QueryPart generates a subquery explicitly, then it has to mark it as such.
2019-04-16 16:08:40 +02:00
Knut Wannheden
adcb72fcfb
[ #7545 ] Add <includeExpression> and <excludeExpression> to <forcedType>
...
Add <includeExpression> and <excludeExpression> as well as
<includeTypes> and <excludeTypes> to <forcedType>. The generator will
warn about usage conflicting with the legacy <expression>,
<expressions>, and <types> elements.
2019-04-16 15:34:24 +02:00
Knut Wannheden
840f5a2aed
[ #8527 ] Fix MiniJAXB#append() when called using enums
...
The JAXB generated models also define Java enums, which should thus also
be supported by MiniJAXB#append().
2019-04-16 12:55:45 +02:00
Knut Wannheden
652e2b1a96
[ #8515 ] Fix type hierarchy of InsertOnConflictConditionStep
...
InsertOnConflictConditionStep now extends InsertReturningStep rather
than InsertFinalStep and is now also the type returned by the methods
declared in InsertOnConflictWhereStep.
2019-04-16 12:49:47 +02:00
Knut Wannheden
14a0f6ddc8
[ #3607 ] [ #8522 ] Support PL/SQL BOOLEAN types in SQL functions
2019-04-16 12:49:37 +02:00
lukaseder
927708b15a
[ #3607 ] [ #8522 ] Support PL/SQL BOOLEAN types in SQL functions
...
[#8522 ] Emulate the PL/SQL BOOLEAN type in SQL functions in Oracle 12c
[#3607 ] Allow for emitting common table expression declarations to RenderContext
2019-04-16 12:04:53 +02:00
lukaseder
cd057d34d4
[ #461 ] [ #473 ] [ #2597 ] [ #8234 ] Unnecessary casts should no longer be ignored
...
Historically, SQL casts were ignored if jOOQ's Field<T> type was of the same type T as the cast type. This makes sense for some internals, but not in the public API. When a user wants to cast an expression, this should always produce a SQL cast.
2019-04-10 16:16:20 +02:00
lukaseder
929529ec7a
[ #8503 ] Make SET clause in ON DUPLICATE KEY UPDATE optional in parser
...
jOOQ parses a synthetic SET clause which is not supported by MySQL. This clause must be parsed optionally
2019-04-10 12:01:55 +02:00
lukaseder
3f84ccf58f
[ #8479 ] Emulate INSERT .. ON DUPLICATE KEY UPDATE .. WHERE on MySQL
...
MySQL doesn't support the useful WHERE clause on ON DUPLICATE KEY UPDATE like PostgreSQL does on ON CONFLICT. But it can easily be emulated using CASE if users do not rely on the effective update counts.
2019-04-10 11:52:56 +02:00
lukaseder
6d630cd53a
[ #8434 ] Support H2 v1.4.198 array syntax
...
H2 1.4.198 changed array syntax incompatibly to align the syntax with PostgreSQL, HSQLDB, and the SQL standard. The old syntax (which conflicts with row value expression) is no longer really supported.
2019-04-10 11:12:28 +02:00
lukaseder
a55a362fd8
[ #8502 ] Add support for H2 1.4.198 row value expression subquery syntax
...
H2 breaks backwards compatibility in 1.4.198 and supports row value expressions at the price of desupporting the "old" vendor specific array syntax. This means we can now remove some H2 specific logic and implement standard row value expression syntax also for H2
2019-04-09 17:49:26 +02:00
Knut Wannheden
f50f71eb9f
[ #8429 ] Fix escaping in AbstractField#endsWith(Object)
...
Since client code can specify a different value when the query is being
executed, the escaping must be done in SQL rather than in Java. The same
applies to AbstractField#startsWith(Object) and some more LIKE-based
predicates.
2019-04-09 16:37:22 +02:00
lukaseder
f37d66de12
[ #8498 ] Add more documentation to the RETURNING clause
2019-04-09 12:45:51 +02:00
lukaseder
baeae9a24b
[ #7953 ] [ #8496 ] Search the hierarchy for a matching setter
2019-04-09 12:33:43 +02:00
lukaseder
af286d96b7
[ #8486 ] Add Settings.renderNamedParamPrefix to support dialect specific named parameter placeholders
2019-04-08 11:16:48 +02:00
lukaseder
519e870394
[ #4498 ] emulate INSERT .. RETURNING via SQL Server OUTPUT clause (WIP)
2019-04-05 17:08:02 +02:00
lukaseder
2785bc84ae
[ #8491 ] Remove unnecessary marker tokens in source code
2019-04-05 11:52:34 +02:00
Knut Wannheden
24db79da74
[ #8489 ] Add TableImpl#fieldsRow() override due to Scala compiler bug
2019-04-04 17:51:57 +02:00
Knut Wannheden
7fcbc8e135
[ #8484 ] Fix 3.11 <-> 3.12 mismatches between XSDs and Constants class
2019-04-04 12:14:56 +02:00
lukaseder
b00f17efcf
[ #8477 ] Support views with renamed columns in SQLite's CREATE VIEW statement
2019-04-01 13:02:54 +02:00
lukaseder
92c45da529
[ #8409 ] Add support for plain SQL CREATE VIEW statements
2019-04-01 12:32:54 +02:00
lukaseder
78c4295e61
[ #8460 ] Regression calling POJO setters twice from DefaultRecordMapper.MutablePOJOMapper
2019-04-01 10:56:38 +02:00
lukaseder
3dcba4ea21
[ #8468 ] DataTypeException when org.jooq.Meta accesses PostgreSQL array column with default expression
2019-03-29 16:03:41 +01:00
lukaseder
3a6ea32896
[ #8456 ] Calling Record.get(0, int.class) returns null if value is not convertible to int
2019-03-26 17:10:29 +01:00
lukaseder
b19d8ef9b6
[ #7518 ] [ #8451 ] Add SQL parser support for PostgreSQL ILIKE
2019-03-26 15:00:37 +01:00
lukaseder
fc4860accc
[ #7518 ] [ #8401 ] Add support for Oracle REGEXP_LIKE
2019-03-26 14:41:10 +01:00
lukaseder
ee51450948
[ #8421 ] WIP CREATE and DROP SCHEMA in Informix
2019-03-26 09:11:30 +01:00
lukaseder
ebc1dce54c
[ #8401 ] Add support for parsing REGEXP, RLIKE, and LIKE_REGEX operators
2019-03-25 12:53:36 +01:00
lukaseder
40715b25d8
[ #8402 ] Bad SQL generated when setting data type and nullability in PostgreSQL's ALTER TABLE .. ALTER .. SET statement
2019-03-25 11:56:19 +01:00
lukaseder
6965dd4d1f
[ #8421 ] Support various DDL statements in Informix
2019-03-25 10:50:21 +01:00
lukaseder
de302f0cc5
[ #8430 ] Ignore ON { DELETE | UPDATE } NO ACTION in dialects that do not support the syntax
2019-03-25 10:49:56 +01:00
lukaseder
6b6627dc89
[ #8424 ] Better VALUES() emulation in Informix using TABLE(MULTISET)
2019-03-18 09:41:28 +01:00
lukaseder
ce73802a32
[ #8413 ] Rollback should not be called when TransactionListener.commitEnd() throws exception
2019-03-14 15:34:45 +01:00
lukaseder
12a2061613
[ #8197 ] Work around some javac compilation issue
2019-03-14 11:47:40 +01:00
lukaseder
b09725df2d
[ #8415 ] Support PERCENT and WITH TIES in H2
2019-03-14 11:13:56 +01:00
lukaseder
6a56edf319
[ #8415 ] Emulate WITH TIES in H2
2019-03-14 10:35:36 +01:00
lukaseder
16df2e309d
[ #8414 ] Don't emulate empty ORDER BY clause in H2's ROW_NUMBER() function
2019-03-14 10:14:37 +01:00
lukaseder
f3452c486b
[ #8412 ] Add DSL.neg(Field<?>) as an alias for Field.neg()
2019-03-14 09:34:11 +01:00
lukaseder
ed7733e8b1
[ #7518 ] [ #8397 ] Parser doesn't recognise BOOL data type
2019-03-07 14:47:57 +01:00
lukaseder
fe5342fe9a
[ #8391 ] Fixed regression
2019-03-07 14:05:43 +01:00
lukaseder
6bff643921
[ #7331 ] Add reference to <forcedType/> configuration in DataType, Converter, Binding
2019-03-07 13:00:21 +01:00
lukaseder
65f69e9a1b
[ #7216 ] Add RecordN<T1, ..., TN> fetchSingle(Field<T1>, ..., Field<TN>)
2019-03-07 11:23:23 +01:00
lukaseder
6c123d7ea1
[ #5640 ] [ #8391 ] Better support for reading JSON, CSV, XML
...
- [#5640 ] MockFileDatabase should support all jOOQ import formats, including JSON, CSV, XML
- [#8391 ] DSLContext.fetchFromJSON() should be able to read JSON without header information
2019-03-06 15:50:57 +01:00
lukaseder
ad1f015401
[ #2233 ] Turn off some XML features for security reasons
2019-03-06 14:12:41 +01:00
lukaseder
80d8642c5b
[ #2233 ] Add Result<?> DSLContext.fetchFromXML() to allow for loading results that were exported using Result.formatXML()
2019-03-06 14:08:48 +01:00
lukaseder
726e77960a
[ #8390 ] Add support for unmapping Iterable
2019-03-06 12:39:07 +01:00
lukaseder
70fe064517
[ #7809 ] Generate overridden Table.fieldsRow() method in generated tables
2019-03-05 14:17:42 +01:00
lukaseder
14d9703a10
[ #8346 ] Improve Javadoc on DSLContext.meta(Table...) etc.
2019-03-05 12:29:13 +01:00
lukaseder
a1591a2e8e
[ #7518 ] [ #8386 ] Support inline constraint names in CREATE TABLE statements
2019-03-05 11:41:01 +01:00
lukaseder
4c3efa0cec
[ #8328 ] { UPDATE | DELETE } .. LIMIT isn't emulated correctly in the absence of unique key meta information
2019-03-04 12:32:24 +01:00
lukaseder
4e902bea0c
[ #7518 ] [ #8384 ] Add parser support for INSERT INTO t [[AS] alias]
2019-03-04 11:02:13 +01:00
lukaseder
eb6952405b
[ #6583 ] Make this work also for aliased target tables
2019-03-04 10:41:03 +01:00
lukaseder
4e2bc62640
[ #8383 ] Emulate { UPDATE | DELETE } table AS alias in SQL Server
2019-03-01 17:44:11 +01:00
lukaseder
8aa087e5fb
[ #8342 ] Array of enums whose literals contain special characters cannot be bound in PostgreSQL
2019-03-01 16:21:49 +01:00
lukaseder
f27ae69702
Removed unnecessary import
2019-03-01 16:21:42 +01:00
lukaseder
bcd684dabb
[ #7591 ] Refactor calls to DefaultExecuteContext.register() to use ResourceManagingScope.autoFree() instead
2019-02-28 15:56:08 +01:00
lukaseder
4e95b3fab1
[ #2530 ] Further predicate support
2019-02-28 12:37:25 +01:00
lukaseder
dd340e74be
[ #8360 ] Add new MatcherTransformType.LOWER_FIRST_LETTER and UPPER_FIRST_LETTER
2019-02-28 12:37:07 +01:00
lukaseder
32d008c32c
[ #8355 ] NullPointerException on Routine.toString() when routine is not attached to a Configuration
2019-02-27 10:21:39 +01:00
lukaseder
a32df83fc0
[ #2530 ] Support for row value expressions
2019-02-25 10:49:19 +01:00
lukaseder
54c5bc3138
[ #8350 ] Parser parses (a, b) IS NULL as (a, b) IS NOT NULL
2019-02-25 09:32:31 +01:00
lukaseder
04d03bfda0
[ #2530 ] First working draft
2019-02-22 15:35:35 +01:00
lukaseder
d8f06d6b1c
Fix OSS edition
2019-02-19 17:06:40 +01:00
lukaseder
1c2c2343b7
[ #8338 ] Redundant QualifiedField.name and AbstractNamed.name fields
2019-02-19 12:22:23 +01:00
lukaseder
3c31a7f130
[ #8339 ] RemovingPrefixMapper is not implemented correctly
2019-02-19 12:13:12 +01:00
lukaseder
7e3fa0efd3
[ #8331 ] Add DSLContext.truncateTable() as an alias for truncate()
2019-02-18 10:20:30 +01:00
lukaseder
e3fb522416
[ #6382 ] Fix Derby Support annotations
2019-02-18 10:20:24 +01:00
lukaseder
b40260058a
[ #6382 ] Fix Derby Support annotations
2019-02-18 10:12:59 +01:00
lukaseder
0be8df7bcd
[ #6382 ] Fix Derby Support annotations
2019-02-18 10:02:37 +01:00
lukaseder
8cbd0208b3
[ #8333 ] Support INSERT .. ON ( DUPLICATE KEY | CONFLICT ) in Derby
2019-02-18 09:29:04 +01:00
lukaseder
2eb488aab1
[ #5110 ] Add support for Derby's MERGE statement
2019-02-15 16:43:34 +01:00
lukaseder
7c70b54c09
[ #8329 ] Lacking formatting for WITH [ NO ] DATA clause
2019-02-15 12:34:38 +01:00
lukaseder
fba479036b
[ #6382 ] Fix Derby Support annotations
2019-02-15 12:30:18 +01:00
lukaseder
d096c7d218
[ #7796 ] Support DatePart.QUARTER in Derby
2019-02-15 11:38:44 +01:00
lukaseder
6f350f13e0
[ #8325 ] By default, turn this feature off in the parser
2019-02-15 10:02:25 +01:00
lukaseder
a478af0651
[ #8294 ] Add a newline after translated SQL in the ParserCLI's interactive mode
2019-02-14 15:14:26 +01:00
lukaseder
64e52efcdc
[ #8325 ] Add a special comment syntax to the Parser and DDLDatabase that allows for ignoring certain statements
2019-02-14 14:33:58 +01:00
lukaseder
8f151a3d3b
[ #6583 ] Work around MySQL's self-reference-in-DML-subquery restriction
2019-02-12 18:12:42 +01:00
lukaseder
14a73800eb
[ #6583 ] Work around MySQL's self-reference-in-DML-subquery restriction
2019-02-12 18:06:10 +01:00
lukaseder
c5f712a8f5
[ #4473 ] Add ResultQuery<R1>.coerce(Field<?>[]), coerce(Table<R>), that coerce a new Record type on a ResultQuery
2019-02-12 11:51:39 +01:00
lukaseder
3c9180bd2c
Whitespace diff
2019-02-11 12:08:35 +01:00
lukaseder
ffc95955e9
[ #8309 ] Add parser support for declaring multiple variables in one procedural statement
2019-02-07 16:40:05 +01:00
lukaseder
468783600d
[ #8308 ] Support ALTER TABLE .. ADD with multiple columns in PostgreSQL
2019-02-07 14:58:57 +01:00
lukaseder
c922728cd5
[ #6475 ] Maintain a variable scope stack to identify local variables in parser
2019-02-07 13:31:33 +01:00
lukaseder
f2179b1c57
[ #6475 ] Added MySQL support
2019-02-06 17:39:23 +01:00
lukaseder
810091d800
[ #6475 ] Added MariaDB support
2019-02-06 17:06:08 +01:00
lukaseder
4d2bbbe73c
[ #6475 ] Added MariaDB support
2019-02-06 16:58:54 +01:00
lukaseder
d3dc0ac857
[ #8302 ] Emulate procedural languages in H2
2019-02-06 15:32:01 +01:00
lukaseder
850c922da8
[ #8290 ] Add Parser.parseStatements() to parse procedural code
2019-02-06 11:26:09 +01:00
lukaseder
9e40e28c13
[ #8300 ] Support MODE() and MEDIAN() in H2
2019-02-06 10:43:59 +01:00
lukaseder
942fff54e6
[ #8297 ] Support inverse distribution functions in H2
2019-02-06 10:10:48 +01:00
lukaseder
7a55222907
[ #8298 ] Support hypothetical set functions in H2
2019-02-06 09:54:57 +01:00
lukaseder
b377a624ff
[ #8299 ] Support FILTER clause on aggregate functions in H2
2019-02-06 09:37:27 +01:00
lukaseder
877983cad2
[ #8295 ] RenderKeywordStyle.PASCAL doesn't work when keywords contain whitespace
2019-02-05 17:52:14 +01:00
lukaseder
fc13913641
[ #8294 ] Add interactive mode to ParserCLI
2019-02-05 17:35:24 +01:00
lukaseder
c2a5dc320f
[ #7312 ] WIP
2019-02-05 16:28:02 +01:00
lukaseder
cbc2c677a1
[ #8293 ] Wrong Javadoc on SelectQuery.addHaving(Operator, Condition...)
2019-02-05 14:55:35 +01:00
lukaseder
57fc2e252f
[ #8293 ] Wrong Javadoc on SelectQuery.addHaving(Operator, Condition...)
2019-02-05 14:54:50 +01:00
lukaseder
498c2a4b11
[ #8290 ] Add Parser.parseStatement() to parse procedural code
2019-02-05 12:19:53 +01:00
lukaseder
f20eb42e79
[ #8285 ] Add support for REPEAT statements in procedural blocks
2019-02-05 11:28:53 +01:00
lukaseder
3cb3a14ce1
[ #8285 ] Add support for REPEAT statements in procedural blocks
2019-02-05 10:19:07 +01:00
lukaseder
ef6b165178
[ #6475 ] Added support for DB2
2019-02-04 12:41:48 +01:00
lukaseder
4793a9c461
[ #8275 ] Improve SQLite's CEIL and FLOOR emulation
2019-02-01 17:12:52 +01:00
lukaseder
1805a3cdd5
[ #2132 ] Add support for quarter() in SQLite
2019-02-01 16:57:09 +01:00
lukaseder
0827914608
[ #8265 ] ParamType not supported: FORCE_INDEXED when calling Query.getSQL()
2019-02-01 16:27:24 +01:00
lukaseder
af0b6c7a8e
[ #8280 ] Add CTE support for SQLite
2019-02-01 16:09:00 +01:00
lukaseder
9033455512
[ #8280 ] Add CTE support for SQLite
2019-02-01 16:01:27 +01:00
lukaseder
b6b28b1e6a
[ #8279 ] Emulate inline window specifications based on other window definitions in SQLite
2019-02-01 15:19:13 +01:00
lukaseder
9fa671e6e8
[ #8276 ] Add overloads CreateTableColumnStep.columns(Name...) and columns(String...)
2019-01-31 16:50:52 +01:00
lukaseder
ca46ecdc23
[ #5309 ] [ #7518 ] Ehm...
2019-01-31 16:35:04 +01:00
lukaseder
51759a6cee
[ #5309 ] [ #7518 ] Wrong parser implementation
2019-01-31 16:30:14 +01:00
lukaseder
d1e2abd1ab
[ #5309 ] Emulate CTAS with column lists where not supported
2019-01-31 16:11:17 +01:00
lukaseder
0129d59318
[ #5309 ] Emulate CTAS with column lists where not supported
2019-01-31 15:42:39 +01:00
lukaseder
05e49b2800
[ #5309 ] [ #7518 ] Add support for CREATE TABLE t(c1, c2, ..., cn) AS SELECT ...
2019-01-31 15:03:12 +01:00
lukaseder
2e1ffa3bc0
[ #8264 ] Expose new Settings.parseDialect in ParserCLI
2019-01-29 13:01:06 +01:00
lukaseder
d3be7f3787
Minor parser fixes
2019-01-29 12:37:53 +01:00
lukaseder
a685d70ec5
[ #7518 ] Support parsing ALTER TABLE .. ADD COLUMN IF NOT EXISTS
2019-01-29 12:21:00 +01:00
lukaseder
01c5149ba2
[ #7518 ] Support parsing ALTER TABLE .. DROP COLUMN IF EXISTS
2019-01-29 11:59:24 +01:00
lukaseder
f43fd610b8
[ #8261 ] [ #7518 ] Added parser support for additional TRIM syntax
2019-01-29 11:33:55 +01:00
lukaseder
570bc41f03
[ #8261 ] [ #7518 ] Added parser support for additional TRIM syntax
2019-01-29 11:26:25 +01:00