Commit Graph

1000 Commits

Author SHA1 Message Date
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
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
bdf031af56 [#2072] Let UDTRecordImpl and ArrayRecordImpl.toString() return a valid
constructor expression
2013-01-02 10:52:50 +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
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
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
Lukas Eder
d532cfed3c [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Fix for Firebird 2012-12-28 16:05:26 +01:00
Lukas Eder
7dcefc62d6 [#2053] Add is[Not]Null() to Row[N] types - Fix for Firebird 2012-12-28 16:05:10 +01:00
Lukas Eder
afaf5ed011 [#2052] Add [not]Between[Symmetric]() to Row[N] types - Fixed this for
Firebird
2012-12-28 16:04:54 +01:00
Lukas Eder
f097801a98 [#1178] Allow for treating Condition as Field<Boolean> - Fix for
Firebird
2012-12-28 15:59:49 +01:00
Lukas Eder
02f45c6439 [#2055] MySQL's UPDATE [t1] JOIN [t2] syntax can cause syntax errors as
column references are not fully qualified
2012-12-28 15:39:40 +01:00
Lukas Eder
cf4a9e521d Upgraded .classpath JRE reference from 1.6 to 1.7 2012-12-28 14:49:06 +01:00
Lukas Eder
01dfb38317 [#2060] Remove redundant SimpleSelectXXX API
- Removed API elements
- Clean up SELECT type hierarchy
2012-12-28 11:31:12 +01:00
Lukas Eder
1660dce03d [#2052] Add [not]Between[Symmetric]() to Row[N] types 2012-12-26 16:23:47 +01:00
Lukas Eder
70e4ff1aa8 Added missing Support annotations 2012-12-26 16:23:04 +01:00
Lukas Eder
f955bb295f Improved MetaImpl performance 2012-12-24 15:15:33 +01:00
Lukas Eder
10c116c6de Fix issue with Oracle JDBC's internal LIKE .. ESCAPE '/' 2012-12-24 14:49:46 +01:00
Lukas Eder
b33bbcdf7c [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Added
integration tests for RVE [>, >=, <, <=] (SELECT ...)
2012-12-24 14:35:17 +01:00
Lukas Eder
a2a32c71d5 [#2049] Add gt() / ge() / lt() / le() to Row[N] types 2012-12-24 14:20:17 +01:00
Lukas Eder
35bcc425a6 [#2053] Add is[Not]Null() to Row[N] types 2012-12-24 12:07:15 +01:00
Lukas Eder
acf270d1f5 [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Renamed newly
factored out conditions
2012-12-24 10:27:54 +01:00
Lukas Eder
20aa6e512a [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Factored out
RowIn nested class to top-level type
2012-12-24 10:26:01 +01:00
Lukas Eder
b76289ea02 [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Factored out
RowSubquery nested class to top-level type
2012-12-24 10:18:41 +01:00
Lukas Eder
b2df9b7d6d [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Factored out
RowCompare nested class to top-level type
2012-12-24 10:15:13 +01:00
Lukas Eder
d228355c03 [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Factored out
RowOverlaps nested class to top-level type
2012-12-23 10:42:54 +01:00
Lukas Eder
e1ce0fa058 [#2049] Add gt() / ge() / lt() / le() to Row[N] types - Improved Javadoc 2012-12-23 09:59:08 +01:00
Lukas Eder
df56195479 [#2050] Re-declare QueryPart.toString() in order to add some Javadoc 2012-12-23 09:27:13 +01:00
Lukas Eder
d3b654c2fb Improved Javadoc 2012-12-22 22:30:12 +01:00
Lukas Eder
5cfde0af20 [#2045] Bad hashCode calculation when Records contain arrays or byte[] 2012-12-22 20:46:49 +01:00
Lukas Eder
d756297151 [#2044] Add various TableRecord.fetchParent(...), fetchChild(...) and
fetchChildren(...) methods to follow foreign key relationships
2012-12-22 20:39:49 +01:00
Lukas Eder
f958e32075 [#2007] Bad type coercion on the right hand side of a comparison
predicate, when the left hand side is Field<Object>
2012-12-22 09:47:01 +01:00
Lukas Eder
8b6e4f2a27 Added Javadoc to internal method 2012-12-22 09:46:27 +01:00
Lukas Eder
8ccad9947a Improved DefaultDataType.toString() 2012-12-22 09:25:48 +01:00
Lukas Eder
374bb9cc7b Created new DataTypeTest unit test. Moved some tests there 2012-12-22 09:09:38 +01:00
Lukas Eder
b82775ec18 Pull up some protected things to a new AbstractTest 2012-12-22 09:07:35 +01:00
Lukas Eder
b34d343fef Moved unit test data into proper package 2012-12-22 09:05:21 +01:00
Lukas Eder
fa7edefc65 [#456] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
Added convenience method DataType.precision(int precision, int scale)
2012-12-22 08:39:06 +01:00
Lukas Eder
d7587ee4d7 [#456] Add runtime support for PRECISION, SCALE, and LENGTH attributes
- Adapted DataType.equals() and hashCode() to consider precision,
scale, and length
 - Consider precision, scale, and length when casting fields/values to a
custom DataType
2012-12-21 23:32:25 +01:00
Lukas Eder
1161afbad1 [#456] Add runtime support for PRECISION, SCALE, and LENGTH attributes -
Added support for precision, scale, and length information in
org.jooq.Meta
2012-12-21 22:40:18 +01:00
Lukas Eder
70a0ab3f44 [#456] Add runtime support for PRECISION, SCALE, and LENGTH attributes
- Let code generator generate precision, scale, and length information
 - Let MetaDataFieldProvider read precision, scale, and length
information from JDBC meta data
2012-12-21 22:35:26 +01:00