Commit Graph

1074 Commits

Author SHA1 Message Date
Lukas Eder
9bcaf9edea Fixed syntax error in Javadoc example 2013-02-20 11:28:53 +01:00
Lukas Eder
bbd774795c [#2200] Add Executor.fetchCount(Select<?>) and Select.fetchCount() to
replace the projection by a COUNT(*) query
2013-02-19 11:01:47 +01:00
Lukas Eder
b2894684df Fixed warning 2013-02-18 15:56:08 +01:00
Lukas Eder
e07671ab20 Release 3.0.0-RC1 - Small optimisation 2013-02-17 21:07:04 +01:00
Lukas Eder
8bf263251f Release 3.0.0-RC1 Fixed Javadoc issues 2013-02-17 20:20:38 +01:00
Lukas Eder
797b1b5e0f [#2227] Field.in(T...) doesn't convert argument values to the Field's
type
2013-02-17 19:07:56 +01:00
Lukas Eder
b631eedb23 [#2223] SQL injection is possible in org.jooq.impl.Val, if client code
doesn't correctly enforce generic typesafety, and bind variables are
inlined
2013-02-17 18:34:58 +01:00
Lukas Eder
0455203f49 Release 3.0.0-RC1 - Improved method signature of Record.changed()
methods. Inversed arguments to make method feel more natural
2013-02-16 16:09:24 +01:00
Lukas Eder
d5053a092a Release 3.0.0-RC1 - Added "experimental" remark to Catalog 2013-02-16 15:57:08 +01:00
Lukas Eder
047014fe81 [#2118] Let Row extend Iterable<Field<?>> - Reverted feature 2013-02-16 14:48:09 +01:00
Lukas Eder
9c68bc5e95 Improved TRACE logging of fetched records 2013-02-16 14:08:46 +01:00
Lukas Eder
62c594b43e [#2208] Implement a MockFileDatabase - Experimental draft implementation 2013-02-16 13:18:37 +01:00
Lukas Eder
821b1e6c08 [#2210] Executor.fetchFromCSV() shouldn't mark resulting records as
"changed"
2013-02-16 12:59:56 +01:00
Lukas Eder
1502c0f330 [#2202] Add Mock JDBC objects for unit testing with jOOQ - Use
jOOQ-style getters, not JavaBeans style
2013-02-16 11:02:05 +01:00
Lukas Eder
4db89119b5 [#2202] Add Mock JDBC objects for unit testing with jOOQ - Added
more unit tests
2013-02-16 10:25:35 +01:00
Lukas Eder
e958dc2908 [#2205] Add <R> Result<R> Executor.newResult(Table<R>) to generate
custom results
2013-02-16 09:30:35 +01:00
Lukas Eder
d56c0d71a2 [#2202] Add Mock JDBC objects for unit testing with jOOQ - Added
some unit tests
2013-02-16 09:30:08 +01:00
Lukas Eder
f782f27b00 [#2206] Relax bounds of R on Executor.newRecord() from TableRecord<R> to
Record
2013-02-15 20:54:41 +01:00
Lukas Eder
e3ec046490 [#2202] Add Mock JDBC objects for unit testing with jOOQ 2013-02-15 20:49:03 +01:00
Lukas Eder
2b3fb59dbe [#2204] Add BatchBindStep.bind(Object[][]) to bind lots of bind values
at a time
2013-02-15 18:17:00 +01:00
Lukas Eder
3e2778122c [#2203] Add Executor.map(Schema) and Executor.map(Table) as a
convenience to apply runtime schema mapping
2013-02-15 17:57:56 +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
82a0d99b92 [#2197] Relax bounds on Factory.groupingSets(Collection<Field<?>>...) to
Collection<? extends Field<?>>...
2013-02-14 01:01:50 +01:00
Lukas Eder
4d87dd6ee6 [#2187] Change all Javadoc <h3/> tags to <h5/> 2013-02-13 17:47:01 +01:00
Lukas Eder
cea755069d [#834] Add support for the Firebird / Postgres UPDATE .. RETURNING
clause
2013-02-12 16:22:04 +01:00
Lukas Eder
fba595a302 [#1977] Remove the confusing concept of having a "main key" as opposed
to a "primary key"
2013-02-12 12:30:11 +01:00
Lukas Eder
70befb4625 [#1309] Let Factory.val() return Param<T> instead of Field<T> -
Fixed regression
2013-02-12 11:32: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
ee5b589361 Added comment to document this "weird casting technique" 2013-02-11 17:17:10 +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
92b7d42ffd [#1663] Document RenderContext and make it part of the public API 2013-02-11 15:39:24 +01:00
Lukas Eder
ad4378ec57 [#2160] [#2161] Add Executor.batchInsert,
batchUpdate(UpdatableRecord<?>...) to mass-insert/update a set of
UpdatableRecords
2013-02-09 18:24:14 +01:00
Lukas Eder
66dd5f25e9 [#1686] Add UpdatableRecord.insert() and update() 2013-02-09 17:48:05 +01:00
Lukas Eder
304865bbdf [#2177] Add ResultQuery.intern() and Result.intern() for string
interning in result sets
2013-02-09 16:42:29 +01:00
Lukas Eder
ee93716c63 Avoid potential NPE 2013-02-09 15:22:03 +01:00
Lukas Eder
af57fd1e48 [#2180] Optimise DAOImpl by using the new ReflectionMapper instead of
calling Record.into() all the time
2013-02-09 15:20:01 +01:00
Lukas Eder
db3049fd48 [#2179] Add Javadoc to QueryPart.hashCode() and equals() 2013-02-09 12:04:17 +01:00
Lukas Eder
345c44f656 [#2178] Improve FieldList. Avoid creating excessive array lists, where
simple (immutable) Field<?>[] are sufficient - Removed unnecessary
FieldList
2013-02-09 11:26:18 +01:00
Lukas Eder
058151a756 [#2178] Improve FieldList. Avoid creating excessive array lists, where
simple (immutable) Field<?>[] are sufficient - Removed dependency
between SelectFieldList and FieldList
2013-02-08 19:12:58 +01:00
Lukas Eder
7ce2b9d8c5 [#2178] Improve FieldList. Avoid creating excessive array lists,
where simple (immutable) Field<?>[] are sufficient - More
improvements leading to another 50% performance increase
2013-02-08 19:10:49 +01:00
Lukas Eder
7acb6ebe8c [#2178] Improve FieldList. Avoid creating excessive array lists,
where simple (immutable) Field<?>[] are sufficient - Introduced
org.jooq.impl.Fields as a wrapper for Field<?>[]. Executor.newRecord()
is accelerated by 50%!
2013-02-08 13:08:41 +01:00
Lukas Eder
d51a7b53dc Removed AbstractFieldProviderQueryPart 2013-02-08 12:24:06 +01:00
Lukas Eder
9da6913287 Avoid lazy initialisation of AbstractRecord.values 2013-02-08 12:23:30 +01:00
Lukas Eder
9ba4be6161 Optimised SortFieldList's copying of non-sort fields 2013-02-08 11:41:05 +01:00
Lukas Eder
c34aa7866c Optimised JoinTable's copying of lhs and rhs fields 2013-02-08 11:36:53 +01:00
Lukas Eder
db826c5cf6 Renamed internal method 2013-02-08 11:30:19 +01:00
Lukas Eder
1fe3fb0bd3 [#1887] Remove all deprecated code 2013-02-07 16:01:44 +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
d0e471e857 Some local formatting 2013-02-07 14:54:29 +01:00
Lukas Eder
e7c38b12bd [#2162] Add some more Javadoc to JooqLogger 2013-02-07 14:50:32 +01:00