Commit Graph

46 Commits

Author SHA1 Message Date
Lukas Eder
ff12bbc730 [#2199] Allow for INSERT and UPDATE of pre-existing records through SET
[ Record ] clauses
2013-02-15 12:17:04 +01:00
Lukas Eder
5bd9a61f16 [#1309] Let Factory.val() return Param<T> instead of Field<T> 2013-02-12 11:18:46 +01:00
Lukas Eder
e732efcbdc Corrected Javadoc to have a first line ending with a period (".") as
required by the Javadoc specs
2013-02-11 17:03:10 +01:00
Lukas Eder
32a166a198 [#2172] Add <T> set(Field<T>, Select<? extends Record1<T>>) methods
to UPDATE, MERGE and INSERT statements
2013-02-07 15:29:14 +01:00
Lukas Eder
7af3fe112e [#1926] Add <T1, T2, ..., T[N]> MergeXXXStep<R, T1, T2, ..., T[N]>
Executor.mergeInto(Table<?>, Field<T1>, Field<T2>, ..., Field<TN>)
2013-02-07 11:53:34 +01:00
Lukas Eder
d718f61059 [#1921] Add <T1, T2, ..., T[N]> InsertValuesStep[N]<R, T1, T2, ...,
T[N]> Executor.insertInto(Table<R>, Field<T1>, Field<T2>, ...,
Field<TN>)
2013-02-05 18:20:57 +01:00
Lukas Eder
e792c72173 [#1902] Duplicate SELECT API between Executor and Factory 2013-02-04 18:44:18 +01:00
Lukas Eder
27f8eca2c4 [#2156] Add Row.type(int), type(String), dataType(int), dataType(String)
for convenience
2013-02-04 15:55:37 +01:00
Lukas Eder
9008936138 Improved performance of RowImpl.indexOf() and similar operations,
resulting in a 60% performance gain in a relevant Record.setValue(),
Record.getValue() benchmark
2013-02-01 14:41:24 +01:00
Lukas Eder
f4adc38d8e Improved performance of AbstractRecord.fieldsRow(), resulting in a
14% performance gain in a relevant Record.setValue(),
Record.getValue() benchmark
2013-02-01 14:08:59 +01:00
Lukas Eder
33ff9de311 [#2112] Add Row.types() and Row.dataTypes() as a convenience 2013-01-11 17:59:07 +01:00
Lukas Eder
7d00425231 [#2118] Let Row extend Iterable<Field<?>> 2013-01-11 17:50:46 +01:00
Lukas Eder
5a63eaaa03 [#2119] Rename Row.getDegree() to Row.size() 2013-01-11 17:43:53 +01:00
Lukas Eder
711d46c73d [#2117] Remove the FieldProvider marker interface. Simplify the
FieldProvider API
2013-01-11 17:40:48 +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
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
1999c73065 Fixed compiler warning 2013-01-02 17:48:06 +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
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
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
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
afaf5ed011 [#2052] Add [not]Between[Symmetric]() to Row[N] types - Fixed this for
Firebird
2012-12-28 16:04:54 +01:00
Lukas Eder
1660dce03d [#2052] Add [not]Between[Symmetric]() to Row[N] types 2012-12-26 16:23:47 +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
d3b654c2fb Improved Javadoc 2012-12-22 22:30:12 +01:00
Lukas Eder
5f8635908a Fixed wrong @Support(DB2) annotation for row value expression comparison
predicates and also relevant test case
2012-12-20 18:09:24 +01:00
Lukas Eder
1adbf989e1 Ignore new Eclipse warning "potential resource leak". It seems to
enforce a very rigid resource lifecycle handling
2012-12-02 10:29:02 +01:00
Lukas Eder
cfa8ec5493 Added Xtend nature to jOOQ-tools 2012-12-01 17:37:28 +01:00
Lukas Eder
0789a832c7 [#1919] Support higher degrees of Row[N] and Record[N] types. Match
Scala's max degree of 22
2012-11-11 12:34:43 +01:00
Lukas Eder
83feae654e [#1906] Use Xtend to generate Row[N], Record[N] and other code
artefacts - Added Update / Scala Conversions code generation
2012-11-11 12:20:50 +01:00
Lukas Eder
a96282f0fa [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Added more Factory generation code
2012-11-11 11:31:48 +01:00
Lukas Eder
8415677d17 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Added Factory code generation (code insertion)
2012-11-10 15:40:51 +01:00
Lukas Eder
dd71da7929 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Use Xtend to generate RecordImpl
2012-11-10 14:48:58 +01:00
Lukas Eder
a476ac1957 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts
- Added generation support for Record[N]
2012-11-10 14:38:36 +01:00
Lukas Eder
970cc7bff3 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts 2012-11-10 14:28:39 +01:00
Lukas Eder
b4701a7283 [#1906] Use Xtend to generate Row[N], Record[N] and other code artefacts 2012-11-10 14:26:44 +01:00