Commit Graph

398 Commits

Author SHA1 Message Date
Lukas Eder
c1ae59160b [#1334] Fix inaccurate simulation of TRUNC(number, decimals) for Derby 2012-05-11 09:51:19 +02:00
Lukas Eder
2f0522d89c Release 2.3.0 - Regenerated integration test artefacts 2012-05-06 20:11:15 +02:00
Lukas Eder
4346013477 [#1370] Missing conversion when using unsafe Field<?> types in INSERT or
UPDATE statements - Deactivate relevant integration test for the time
being
2012-05-06 18:44:46 +02:00
Lukas Eder
c1a7bd0bee Release 2.3.0 2012-05-06 18:23:11 +02:00
Lukas Eder
130e6b1024 [#1394] NullPointerException when omitting <generate/> element in code
generation configuration
2012-05-04 11:46:16 +02:00
Lukas Eder
ad8d4a159c [#989] INSERT and UPDATE statements always render non-qualified, escaped
field names. This may cause trouble when using plain SQL fields
[#1390] Add RenderContext.qualify() to indicate whether QueryParts
should render qualified versions of themselves or not
2012-05-01 23:31:16 +02:00
Lukas Eder
63d038b6c6 [#1109] Standalone TABLE or VARRAY types are not correctly initialised
before referencing tables load them
2012-05-01 22:41:19 +02:00
Lukas Eder
97e8fbc9f0 [#910] Add ExecuteListener extension to allow for overriding exception
translator to handle vendor-specific error codes
2012-05-01 14:39:40 +02:00
Lukas Eder
eaf66c19d2 [#783] Result holds wrong data when tables in a cartesian self product
(or self cross join) are not aliased - added integration test
2012-05-01 13:36:53 +02:00
Lukas Eder
0145a12b1c [#1295] Add support for MySQL's INSERT IGNORE clause 2012-05-01 10:10:34 +02:00
Lukas Eder
9c435f3ff8 [#1296] Simulate the FOR UPDATE clause for SQL Server, CUBRID, using
JDBC's ResultSet.CONCUR_UPDATABLE
2012-04-30 23:56:30 +02:00
Lukas Eder
8c6381ff1f [#1352] Allow for creating syntax-error and SQL-injection safe
qualifiers for org.jooq.Field and org.jooq.Table
2012-04-29 14:11:26 +02:00
Lukas Eder
db2b2ac946 [#1376] Oracle UDTs in REF CURSORs are not deserialised correctly from
procedure OUT parameters
[#1377] Oracle UDTs are not deserialised correctly when the same UDT
name is present in multiple schemata
2012-04-29 11:26:57 +02:00
Lukas Eder
50d2625ed4 [#1370] Missing conversion when using unsafe Field<?> types in INSERT or
UPDATE statements
2012-04-28 13:21:07 +02:00
Lukas Eder
f842a60b73 [#1361] Add Factory.batchStore(TableRecord<?>...), to allow for batch
UPDATE/INSERTs of many records
[#1366] Let org.jooq.Batch extend Serializable
[#1367] Make configured ExecuteListeners default constructors accessible
[#1368] Promote AbstractQuery.isExecutable() to the public API
2012-04-27 16:20:44 +02:00
Lukas Eder
d5176c891c [#1336] Let Record.into(Class<?>) and similar methods accept "immutable"
classes, i.e. setter-less classes that take several constructor
arguments
2012-04-27 12:59:53 +02:00
Lukas Eder
a41ed92c27 [#1358] Compilation errors in generated source code when Oracle
overloaded procedures collide with procedures that end with numbers -
Added integration test
2012-04-25 22:35:29 +02:00
Lukas Eder
8e4f04ba2e [#1340] Use Constructor.setAccessible(true), if no default constructor
is available on the target type of Record.into(Class<?>)
2012-04-25 21:55:24 +02:00
Lukas Eder
1df7156550 [#1343] Regression in insertInto(...).values(...). Cannot pass Field<?>
to values()
2012-04-22 12:24:47 +02:00
Lukas Eder
6bc74d2577 [#597] Add support for Oracle KEEP (DENSE_RANK FIRST...) aggregate
function clause
2012-04-22 11:41:44 +02:00
Lukas Eder
942731ab9f [#1323] Add support for byte[] in Postgres UDTs - Added support for Octal values (added integration test) 2012-04-20 13:41:31 +00:00
Lukas Eder
1796cac423 [#1333] Add support for the Oracle TRUNC function, for numeric arithmetic 2012-04-20 13:16:37 +00:00
Lukas Eder
aac93ee93a [#1322] Add Factory.dateAdd() and timestampAdd() for convenience 2012-04-20 10:36:41 +00:00
Lukas Eder
76247926be [#1283] The LIKE escape character needs escaping, too, in contains(), startsWith(), endsWith()
[#1328] Add Field<String> inline(char), inline(Character), inline(CharSequence) for convenience
2012-04-20 09:07:32 +00:00
Lukas Eder
711c7d011d [#1326] Error when deserialising BLOBs from Oracle UDTs 2012-04-20 08:12:04 +00:00
Lukas Eder
64c60a549a [#1323] Add support for byte[] in Postgres UDTs 2012-04-19 16:42:30 +00:00
Lukas Eder
5737e16275 [#1315] Let generated factories use their associated Schema as the Settings' RenderMapping's defaultSchema 2012-04-14 15:27:06 +00:00
Lukas Eder
7f48be5af3 [#1308] Oracle's DataTypeDefinition reports the length of a BLOB / CLOB data type to be 4000 2012-04-14 14:23:41 +00:00
Lukas Eder
d99b20b89c [#1279] NullPointerException when leaving <inputSchema/> empty
[#1312] Allow for omitting <inputSchema/>, and generate all available schemata in that case
2012-04-14 13:47:05 +00:00
Lukas Eder
80d051b555 [#1310] Deprecate Factory.literal() in favor of Factory.inline(), and Factory.field() 2012-04-13 11:12:23 +00:00
Lukas Eder
a997bc4970 [#1302] Add Factory.inline() to allow for flagging inline-only "bind values" 2012-04-13 10:31:35 +00:00
Lukas Eder
fcf396140e [#1304] Add option to generate JSR-303 @NotNull and @Size annotations to generated POJO's 2012-04-13 09:32:40 +00:00
Lukas Eder
6d49519087 [#1286] Add "renderSchema" flag to Settings, to completely disable rendering of schema names
[#1306] Add missing INTERVAL data types to HSQLDBDataType
2012-04-12 18:30:59 +00:00
Lukas Eder
2f568eb7e3 [#1288] SQL syntax errors from sequences when using RenderMapping's defaultSchema 2012-04-11 21:52:00 +00:00
Lukas Eder
874adda9cd [#1255] Let generated Tables contain a protected default constructor, to be able to extend classes - Github issue #12 2012-04-08 13:14:24 +00:00
Lukas Eder
76256acb2d Fixed cubrid generated code 2012-04-07 14:46:51 +00:00
Lukas Eder
053d107f6e [#566] Add support for INTERVAL data types - some fixes for Postgres
[#585] Add support for DATE, TIME and INTERVAL arithmetic - some fixes for Postgres
2012-04-07 13:26:32 +00:00
Lukas Eder
3b95d040ba [#566] Add support for INTERVAL data types - some fixes
[#585] Add support for DATE, TIME and INTERVAL arithmetic - some fixes
2012-04-07 12:01:55 +00:00
Lukas Eder
7acc26838a [#1273] Simulate GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function, where available 2012-04-06 20:40:46 +00:00
Lukas Eder
003344ef32 [#1276] Simulate Oracle's LISTAGG() in DB2 using XMLAGG(), SUBSTR() and CONCAT() 2012-04-06 19:57:49 +00:00
Lukas Eder
ca32a0fa39 [#1273] Simulate GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function, where available 2012-04-06 19:24:46 +00:00
Lukas Eder
8a5d3ae639 [#1273] Simulate GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function, where available 2012-04-06 18:49:15 +00:00
Lukas Eder
367befbe98 [#1273] Simulate MySQL's / CUBRID's GROUP_CONCAT() aggregate function using Oracle's LISTAGG() function
[#1275] Simulate Sybase's LIST() aggregate function using Oracle's LISTAGG() function
2012-04-06 18:39:46 +00:00
Lukas Eder
6e6fcbcf78 [#1268] Add Factory.field(String, QueryPart...) to generate custom clauses 2012-04-06 16:29:59 +00:00
Lukas Eder
490ca642bf [#1274] Add support for the Oracle LISTAGG() analytic function 2012-04-06 14:26:42 +00:00
Lukas Eder
fe58db50d5 [#1257] Add CUBRID support - Updated @Support annotations 2012-04-06 12:06:55 +00:00
Lukas Eder
948d015c43 [#1270] Most databases allow for multiple identical foreign keys. This leads to compilation errors in generated source code 2012-04-06 09:03:54 +00:00
Lukas Eder
d3d65b4aac [#1269] Add YEAR(), MONTH(), DAY(), HOUR(), MINUTE(), SECOND() function support as shortcuts for EXTRACT() 2012-04-05 06:01:59 +00:00
Lukas Eder
4d50e15b16 [#585] Add support for DATE, TIME and INTERVAL arithmetic - Implementation done for SQLServer, Sybase, implementation attempts for SQLite 2012-04-04 21:31:36 +00:00
Lukas Eder
26c7a3090a [#585] Add support for DATE, TIME and INTERVAL arithmetic - Implementation done for Derby, H2
[#585] Upgraded H2 from 1.3.163 to 1.3.165
2012-04-04 19:26:28 +00:00