Commit Graph

80 Commits

Author SHA1 Message Date
Lukas Eder
259884febd [#2595] Add implicit conversions from Scala functions to
RecordMapper
2013-07-03 14:41:07 +02:00
Lukas Eder
9c2e8d4373 [#1903] Duplicate Query construction API between DSLContext and DSL 2013-07-02 19:47:23 +02:00
Lukas Eder
d74988011f Ignore unreliable Eclipse resource leaks warnings 2013-06-30 13:18:57 +02:00
Lukas Eder
982e3c3107 [#2311] [#2571] Add Configuration.recordMapperProvider() to override
jOOQ's internal default ReflectionMapper

* [#2311] Add Configuration.recordMapperProvider() to override jOOQ's
internal default ReflectionMapper
* [#2571] Add a new RecordType<R extends Record> type to make up for the
missing recursive type definition on Record
2013-06-29 18:02:17 +02:00
Lukas Eder
0f725a9f14 Fixed some warnings 2013-06-29 16:18:48 +02:00
Lukas Eder
4059bc3b50 [#2311] Added some raw type generation methods 2013-06-29 16:04:09 +02:00
Lukas Eder
5d4b335573 [#2521] Add Row.fields(Field<?>...), Row.fields(String...),
Row.fields(int...) to extract Field<?>[] from a row
2013-06-14 10:58:01 +02:00
Lukas Eder
de871db819 [#2485] Allow for treating Field<Boolean> as Condition 2013-05-25 12:16:40 +02:00
Lukas Eder
f53ecbcd67 [#1737] First annotation draft 2013-05-22 20:15:57 +02:00
Lukas Eder
8bf94e16fe [#1737] Substitute also multi-sequences 2013-05-22 20:15:03 +02:00
Lukas Eder
e321c830fd [#1737] Restored and adapted DSL.xtend 2013-05-18 16:26:00 +02:00
Lukas Eder
531d1f75e4 [#1737] Add BNF pseudo-notation to the manual - Added the
BNFGenerator, first draft
2013-05-18 16:25:25 +02:00
Lukas Eder
433012e48b [#1846] Added more integration tests related to Record.changed() and
Record.original()
2013-05-10 18:16:43 +02:00
Lukas Eder
0ab5128d62 [#2434] Merged the internal SubqueryComparator with the public
Comparator. Added a couple of flags indicating whether a Comparator can
be used with subselects / quantifiers
2013-05-10 13:38:38 +02:00
Lukas Eder
92d26fd221 Pulled up some methods for broader reuse 2013-05-03 15:54:33 +02:00
Lukas Eder
868b1ac275 [#2429] Added Javadoc 2013-05-03 10:49:27 +02:00
Lukas Eder
7acd547c7b [#2429] Add Row[N].compare(Comparator, XXX), where XXX is any of Row[N],
Record[N], T[N], Field<T[N]>, Select<? extends Record[N]>
2013-05-03 10:37:43 +02:00
Lukas Eder
b4ef723bcf [#2434] Added new public SubqueryComparator 2013-05-03 10:23:46 +02:00
Lukas Eder
626b4aad5c [#2429] Factored out some common logic in Xtend generator for Rows 2013-05-03 10:09:58 +02:00
Lukas Eder
6350d73134 [#2395] [#2428] Row value expression simulation.
- Simulate row value expression IN predicate using EXISTS
- Simulate row value expression comparison predicates using EXISTS
2013-05-01 21:31:05 +02:00
Lukas Eder
3c15c2eda8 [#2395] Simulate row value expression IN predicate using EXISTS -
Improved Xtend code generation for Row[N] vs. RowN
2013-05-01 19:57:59 +02:00
Lukas Eder
1bc0b4ab66 [#2395] Simulate row value expression IN predicate using EXISTS 2013-05-01 19:24:44 +02:00
Lukas Eder
7e130760be Fixed Eclipse warning 2013-04-19 14:05:39 +02:00
Lukas Eder
a6020617f5 Fixed xtend source code 2013-04-07 17:18:56 +02:00
Lukas Eder
68db0cf354 Renamed AttachableInternal.getConfiguration() to configuration() for
consistency
2013-04-07 17:17:27 +02:00
Lukas Eder
c753d70bb1 Fixed xtend source code 2013-04-07 17:12:33 +02:00
Lukas Eder
906df54303 [#2380] Rename org.jooq.impl.Factory to org.jooq.DSL - Step 1
- Renamed org.jooq.impl.Factory to org.jooq.impl.DSL
2013-04-06 21:17:18 +02:00
Lukas Eder
0183ecab99 [#2379] Replace 3.0-RC1 Executor type by a contextual DSL type
constructed from Factory.using() - Step 4
- Renamed ContextDSL to DSLContext
2013-04-06 21:00:50 +02:00
Lukas Eder
39b20216a9 [#2379] Replace 3.0-RC1 Executor type by a contextual DSL type
constructed from Factory.using() - Step 4
- Fixed Xtend code generation
2013-04-06 19:02:05 +02:00
Lukas Eder
738e0adc85 [#2379] Replace 3.0-RC1 Executor type by a contextual DSL type
constructed from Factory.using() - Step 2
- Re-introduce "FactoryOperations", named ContextDSL
- Let Executor implement ContextDSL
2013-04-06 18:17:35 +02:00
Lukas Eder
62ce4aae8f Adapted Xtend code to the latest changes 2013-03-24 16:19:30 +01:00
Lukas Eder
5d5b1cd0d8 Fixed Xtend code generation 2013-02-25 17:32:26 +01:00
Lukas Eder
9c23aa1d21 Added missing MergeDSL reference 2013-02-25 17:30:58 +01:00
Lukas Eder
047014fe81 [#2118] Let Row extend Iterable<Field<?>> - Reverted feature 2013-02-16 14:48:09 +01:00
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