Commit Graph

1966 Commits

Author SHA1 Message Date
Lukas Eder
e83254fed9 Re-enabled test case, increasing its priority for jOOQ 3.0 2013-01-04 13:41:07 +01:00
Lukas Eder
993843ccd6 [#2086] SQL syntax error when aliasing outcome of a relational division 2013-01-04 13:35:20 +01:00
Lukas Eder
2dd4517be0 Avoid returning internal type, if possible 2013-01-04 13:22:10 +01:00
Lukas Eder
3c520c03b6 [#2082] Oracle PIVOT expression doesn't bind any variables of a derived
table being pivoted
2013-01-04 12:09:20 +01:00
Lukas Eder
eb677e7b09 [#1801] Add Table.as(String, String...) to allow for creating a table
aliases (correlation names) with derived column lists - Added tests
renaming PIVOT columns
2013-01-04 11:53:11 +01:00
Lukas Eder
c6a4514417 [#2080] Syntax error in rendered SQL when using limit().offset() with
aliased projections in SQL Server - Added an additional test case
2013-01-04 11:15:53 +01:00
Lukas Eder
60f33df0e0 [#2080] Syntax error in rendered SQL when using limit().offset() with
aliased projections in SQL Server - Added test case
2013-01-04 10:13:20 +01:00
Lukas Eder
6ea236e217 [#1801] Add Table.as(String, String...) to allow for creating a
table aliases (correlation names) with derived column lists
2013-01-03 23:29:08 +01:00
Lukas Eder
c9d12d8850 [#915] Add <T1, T2, ..., T[N]> Table<Record[N]<T1, T2, ..., T[N]>>
Factory.values(Row[N]<T1, T2, ..., T[N]>...), to create ad-hoc
tables from data - Simulate VALUES() using SELECT .. UNION ALL SELECT ..
where VALUES() is unavailable
2013-01-03 23:26:58 +01:00
Lukas Eder
c13f7ce577 Speed up SQLite integration tests 2013-01-03 23:25:08 +01:00
Lukas Eder
e7235b6e03 [#2052] Add [not]Between[Symmetric]() to Row[N] types - Added fix
for MySQL
2013-01-03 23:04:13 +01:00
Lukas Eder
74e7051be3 [#1801] Add Table.as(String, String...) to allow for creating a table
aliases (correlation names) with derived column lists - Simulate derived
column lists for Oracle using CTE's
2013-01-03 21:13:53 +01:00
Lukas Eder
318d06ed75 [#915] Add <T1, T2, ..., T[N]> Table<Record[N]<T1, T2, ..., T[N]>>
Factory.values(Row[N]<T1, T2, ..., T[N]>...), to create ad-hoc tables
from data
 - Added test case
 - Improved Javadoc
2013-01-03 20:40:52 +01:00
Lukas Eder
b84c0060b9 Changed year number in copyright to 2013 2013-01-03 12:05:32 +01:00
Lukas Eder
135b9f2501 [#2076] Stop "supporting" comma-separated regular expressions in the
code generator configuration
2013-01-02 19:50:05 +01:00
Lukas Eder
abe359d859 [#2078] Add Postgres to @Support annotation of
SelectForUpdateWaitStep.wait()
2013-01-02 19:37:00 +01:00
Lukas Eder
d60432d463 [#1801] Add Table.as(String, String...) to allow for creating a table
aliases (correlation names) with derived column lists - Add test case
for renaming JOIN expressions
2013-01-02 18:09:45 +01:00
Lukas Eder
1999c73065 Fixed compiler warning 2013-01-02 17:48:06 +01:00
Lukas Eder
6e140fd115 [#1801] Add Table.as(String, String...) to allow for creating a table
alias with aliased fields - Added some more Javadoc
2013-01-02 17:47:04 +01:00
Lukas Eder
36554005ec [#1801] Add Table.as(String, String...) to allow for creating a
table alias with aliased fields - Added a workaround for SQL Server,
Sybase
2013-01-02 17:40:25 +01:00
Lukas Eder
c51ed4d5df [#2056] Add Field.[not]Between[Symmetric](Select<? extends Record1<T>>)
methods to allow for specifying subselects as arguments to the BETWEEN
predicate - Added fix for SQLite
2013-01-02 17:31:03 +01:00
Lukas Eder
7f1b8d614f Fixed broken test that assumed that no other test would access
T_TRIGGERS
2013-01-02 17:08:29 +01:00
Lukas Eder
cb0ca38a36 [#1801] Add Table.as(String, String...) to allow for creating a
table alias with aliased fields - Regenerated Firebird schema
2013-01-02 17:03:50 +01:00
Lukas Eder
ffae7e756d [#1801] Add Table.as(String, String...) to allow for creating a
table alias with aliased fields - Added a workaround for CUBRID,
Firebird
2013-01-02 17:03:34 +01:00
Lukas Eder
398d235ebb Added an additional RVE test case, with heterogeneous data types
within the RVE
2013-01-02 15:58:06 +01:00
Lukas Eder
3e793fe4fd - Fixed @Support annotation for RVE-related predicates taking a
subselect on the RHS: CUBRID doesn't really support RVE's
2013-01-02 15:57:16 +01:00
Lukas Eder
d0bb0e8420 [#1801] Add Table.as(String, String...) to allow for creating a
table alias with aliased fields - Regenerated Firebird schema
2013-01-02 14:40:04 +01:00
Lukas Eder
d22d68f19e [#1801] Add Table.as(String, String...) to allow for creating a
table alias with aliased fields - Fixed code generator
2013-01-02 14:39:50 +01:00
Lukas Eder
48b25650b4 [#1801] Add Table.as(String, String...) to allow for creating a
table alias with aliased fields - Added API and tests that work for
Postgres
2013-01-02 14:39:17 +01:00
Lukas Eder
ae7aad93d5 [#915] Add <T1, T2, ..., T[N]> Table<Record[N]<T1, T2, ..., T[N]>>
Factory.values(Row[N]<T1, T2, ..., T[N]>...), to create ad-hoc tables
from data - Updated generated Factory code
2013-01-02 12:09:14 +01:00
Lukas Eder
7798e1d303 [#2073] The code generator's <dateAsTimestamp/> flag doesn't affect
Oracle VARRAY and TABLE types - Added some more test cases
2013-01-02 11:38:04 +01:00
Lukas Eder
9b52d42715 [#2073] The code generator's <dateAsTimestamp/> flag doesn't affect
Oracle VARRAY types - Regenerated database
2013-01-02 11:18:27 +01:00
Lukas Eder
f2a6320cfd [#2073] The code generator's <dateAsTimestamp/> flag doesn't affect
Oracle VARRAY types
2013-01-02 11:18:03 +01:00
Lukas Eder
544467cd9d Regenerated Oracle SYS.DBMS_XPLAN package 2013-01-02 11:17:30 +01:00
Lukas Eder
bdf031af56 [#2072] Let UDTRecordImpl and ArrayRecordImpl.toString() return a valid
constructor expression
2013-01-02 10:52:50 +01:00
Lukas Eder
cf3425f545 Fixed broken test 2012-12-29 22:14:23 +01:00
Lukas Eder
020e1958a4 Work around a SQL Server JDBC driver problem by manually coercing JDBC
DatabaseMetaData.getColumns() data types
2012-12-29 17:41:16 +01:00
Lukas Eder
e0b5fa2d66 [#1144] Overload Executor.fetch[One|Lazy](ResultSet, X...) with X being
Field<?>, DataType<?>, Class<?>
2012-12-29 17:32:10 +01:00
Lukas Eder
d8fe5ffee2 [#2052] Add [not]Between[Symmetric]() to Row[N] types - Added fix for
SQL Server
2012-12-29 17:12:36 +01:00
Lukas Eder
939793f2d0 Removed test case that isn't necessarily valid for all dialects 2012-12-29 16:16:06 +01:00
Lukas Eder
0bcee0f17f [#2052] Add [not]Between[Symmetric]() to Row[N] types - Fix for Sybase 2012-12-29 16:15:20 +01:00
Lukas Eder
32c6024fe6 [#2053] Add is[Not]Null() to Row[N] types - Fix for Sybase 2012-12-29 16:13:53 +01:00
Lukas Eder
2ddccf8f80 [#1178] Allow for treating Condition as Field<Boolean> - Fix for Sybase 2012-12-29 16:12:51 +01:00
Lukas Eder
057064ad46 [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Fix for Sybase 2012-12-29 16:11:31 +01:00
Lukas Eder
3620e6b6ce Regenerated Sybase SQL Anywhere schema 2012-12-29 16:10:01 +01:00
Lukas Eder
708d52a114 [#1883] Derby OVERLAPS predicate doesn't work for (DATE, INTERVAL)
tuples
2012-12-29 16:01:37 +01:00
Lukas Eder
57c1d5d7d7 [#1905] Add Row[N].equal(Select<? extends Record[N]>) and similar
methods - Work around H2's missing row value expression support by
rendering an array in subselects of RVE predicates
2012-12-29 14:57:39 +01:00
Lukas Eder
372b1df203 [#2066] Add Executor.bindValues(QueryPart) to extract bind values in the
context of an Executor (i.e. Configuration)
2012-12-28 19:48:47 +01:00
Lukas Eder
56d7064043 [#2055] MySQL's UPDATE [t1] JOIN [t2] syntax can cause syntax errors as
column references are not fully qualified - Fixed unit tests
2012-12-28 19:46:26 +01:00
Lukas Eder
fa52ecd05f [#2057] Cannot properly extract bind values for LIMIT .. OFFSET clause
from a SELECT statement
2012-12-28 16:11:54 +01:00