Lukas Eder
58954539cb
[ jOOQ/jOOQ#8900 ] Regenerated PostgreSQL information_schema code
2019-07-04 16:45:19 +02:00
Knut Wannheden
f8a6dfacf1
[ jOOQ/jOOQ#8900 ] Make jOOQ compatible with Java 6
...
- Mostly surround pieces of code with [java-8] preprocessor tags
- Added ExceptionTools#sneakyThrow() which is used in MiniJAXB
2019-07-04 16:26:21 +02:00
Lukas Eder
514f2eda6d
[ jOOQ/jOOQ#5412 ] Reverted the feature
2019-07-03 15:27:09 +02:00
Knut Wannheden
c5c8d1d256
Fixed more Javadoc warnings in jOOQ-codegen and jOOQ-meta
2019-06-26 10:26:28 +02:00
Lukas Eder
5aee8a9b5d
[ jOOQ/jOOQ#5412 ] Generate a Record from POJO unmapper on generated
...
records
2019-06-18 17:04:54 +02:00
Lukas Eder
45c298a4bc
[ jOOQ/jOOQ#5412 ] Generate a Record to POJO mapper on generated records
2019-06-18 16:48:44 +02:00
Lukas Eder
7c94342142
[ jOOQ/jOOQ#2059 ] Fixed regression
...
This newly introduced DISTINCT keyword needs to include all columns that appear in the ORDER BY clause. I'm not sure if the effect is still the desired one in MemSQL (nor why this even worked in MemSQL), but it doesn't work in MySQL this way.
2019-06-04 16:25:26 +02:00
Knut Wannheden
d751d6edc7
[ #8547 ] Fix SQLITE comparisons against dialect
...
SQLITE should normally be compared against the dialect family.
Also replace some occurrences of `context.configuration().dialect()`
with `context.dialect()`.
2019-05-28 15:51:08 +02:00
Lukas Eder
e16465c56b
[ jOOQ/jOOQ#8693 ] Add support for generation of comments on HSQLDB schema objects
2019-05-27 13:16:13 +02:00
Knut Wannheden
85a1d1f31e
[ #2059 ] Remove some MemSQL related code
2019-05-21 14:56:49 +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
fce9626b13
[ jOOQ/jOOQ#8615 ] Missing NOTICE file from commons-lang
2019-05-21 12:23:17 +02:00
Knut Wannheden
58e3b64d85
[ #8584 ] Use fetch(String, Object...) in SQLiteDatabase#loadPrimaryKeys()
...
Protect against the case of table names containing quotes.
2019-05-01 13:35:54 +02:00
Knut Wannheden
06a6c783ab
[ #8581 ] Explicitly specify column types for PRAGMA TABLE_INFO
...
Using SQLite driver version 3.27.2 the jOOQ code generator no longer
generates the default value for VARCHAR typed columns, due to how the
driver determines the column type. Thus the PRAGMA TABLE_INFO query now
specifies the column types up-front.
2019-05-01 13:35:26 +02:00
Knut Wannheden
726897cf1d
[ #8513 ] Fix potential NPE source in getConfiguredForcedType()
...
Fixes a potential NPE source in
AbstractDatabase#getConfiguredForcedType().
2019-04-23 14:15:32 +02:00
lukaseder
a7215a91ba
[ #8551 ] Support old SQLDialects only in commercial distributions
2019-04-18 16:11: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
66249dcfb7
[ #7545 ] Fixed regression caused by unnecessary application of Filters
2019-04-17 14:18:09 +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
lukaseder
ab3f0ed371
[ #8512 ] JPADatabase may not be able to properly detect AttributeConverter
...
Some implementation of this database may have already configured a forced type programmatically, so we must not set the list but append it.
2019-04-11 16:54:56 +02:00
Knut Wannheden
a5d4c00b7a
[ #6971 ] Regenerated code from jooq-codegen-3.12.0.xsd
2019-04-10 16:25:51 +02:00
lukaseder
5832e45eaf
[ #6971 ] Added missing class
2019-04-10 14:40:37 +02:00
Knut Wannheden
df2ec439bc
[ #6971 ] Add <onError/> to generator's <configuration/>
...
Using the new <onError/> (which accepts the values FAIL (default), LOG,
and SILENT) the generator's behavior on an encountered exceptions can be
controlled.
2019-04-10 12:20:17 +02:00
lukaseder
19b19411c0
[ #8493 ] Support JSR 310 types as <name/> in <forcedType/> data type rewriting feature
...
Some SQLDataTypes are "synthetic" aliases of other types, and as such could not yet be used as forcedType names because they were not recognised, despite what the manual says.
2019-04-09 17:08:10 +02:00
lukaseder
2785bc84ae
[ #8491 ] Remove unnecessary marker tokens in source code
2019-04-05 11:52:34 +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
c0ada90f6e
[ #8478 ] ERROR: conflicting ColumnTypes while executing meta query on CockroachDB
2019-04-03 16:14:41 +02:00
lukaseder
a088bec1af
[ #8463 ] Add <includeCheckConstraints/> flag to code generator
2019-03-29 15:08:59 +01:00
lukaseder
8f7e2f0dbf
[ #8465 ] Add a new <logSlowResultsAfterSeconds/> code generation flag
2019-03-29 15:00:41 +01:00
lukaseder
f39e15be04
[ #8464 ] Log slow result set fetching in code generator
2019-03-29 14:41:23 +01:00
lukaseder
2ea2d93736
[ #8447 ] Add <sqlMatchesPartialQualification>
2019-03-26 10:54:54 +01:00
lukaseder
d31c34c91a
[ #8446 ] Add <sql> to <forcedType> to allow for matching columns with SQL
2019-03-26 10:36:30 +01:00
lukaseder
94a59f50a8
[ #8407 ] Add code generation configuration flag to set Connection.setAutoCommit()
2019-03-14 14:38:28 +01:00
lukaseder
d79d634963
[ #7719 ] Add code generation flag to treat MySQL TINYINT(1) as BOOLEAN
2019-03-07 12:53:51 +01:00
lukaseder
f81ddaca57
[ #8361 ] [ #8362 ]
...
- [#8361 ] Cache Patterns in MatcherStrategy
- [#8362 ] <regexFlags/> is not applied to matcher strategy
2019-02-28 13:14:46 +01:00
lukaseder
dd340e74be
[ #8360 ] Add new MatcherTransformType.LOWER_FIRST_LETTER and UPPER_FIRST_LETTER
2019-02-28 12:37:07 +01:00
lukaseder
04d03bfda0
[ #2530 ] First working draft
2019-02-22 15:35:35 +01:00
lukaseder
c154c58c57
[ #6944 ] Add a way to specify what object type a <forcedType/> should match
2019-02-21 10:02:37 +01:00
lukaseder
e37788981d
[ #8336 ] DDLDatabase cannot load relative paths in Maven modules that do not contain wildcards
2019-02-19 10:42:52 +01:00
lukaseder
988142bc7b
[ #8270 ] Wrong foreign key specification generated in MySQL, when foreign key shares name with unique key in different table
2019-02-12 15:41:47 +01:00
lukaseder
9958df4f03
[ #8287 ] Change message "Please report this bug here" for cases which are not bugs
2019-02-05 10:11:05 +01:00
lukaseder
83bfd238b6
[ #6234 ] [ #8138 ] Code generation whitespace configuration
...
- [#6234 ] Add newline configuration to code generator
- [#8138 ] Add indentation configuration to code generator
2018-12-21 11:21:25 +01:00
lukaseder
f191c12d9e
[ #8118 ] NullPointerException in XMLDatabase, when no schemas could be loaded
2018-12-14 13:03:05 +01:00
lukaseder
df54d660f4
[ #6260 ] Support loading multiple files in XMLDatabase
2018-12-14 12:52:15 +01:00
lukaseder
89f79d5f47
[ #8116 ] XMLDatabase should not distinguish between empty catalog and absent catalog
2018-12-14 11:05:42 +01:00
lukaseder
e15607ea1d
[ #8115 ] XMLDatabase configuration properties should be in camel case for consistency
2018-12-14 10:55:31 +01:00
lukaseder
2af798aae1
[ #8087 ] Add support for overloaded functions in H2
2018-12-05 13:08:20 +01:00
lukaseder
4deccd971e
[ #8072 ] Code generator on PostgreSQL 9.3.9
2018-11-27 16:48:06 +01:00
lukaseder
e392b4eb65
[ #8067 ] Code generator doesn't generate length on VARCHAR(n) ARRAY types
2018-11-27 13:21:49 +01:00
lukaseder
8197c65fbb
[ #7579 ] [ #8044 ] Code generation fails on JDK9+ with javax.xml.bind.UnmarshalException: unexpected element when using external <configurationFile/>
2018-11-20 10:25:01 +01:00