Commit Graph

2050 Commits

Author SHA1 Message Date
Lukas Eder
1b0d7c08b9 [#1626] Explicitly implement hashCode() and equals() in some
additional QueryParts
2013-02-05 14:06:29 +01:00
Lukas Eder
4ecb5b6614 Improved package-info Javadoc. There should be a period after the first
line
2013-02-05 12:18:04 +01:00
Lukas Eder
69c9a1f724 Merge branch 'master' of git@github.com:jOOQ/jOOQ.git 2013-02-05 09:13:49 +01:00
Lukas Eder
fd25809d1b Merge pull request #2126 from jeffska/master
Scala trait/conversions for wrapping Param[T] to avoid instanceOf problems in ParamCollector
2013-02-05 00:13:16 -08:00
Lukas Eder
2b2b3e6623 [#1897] Add a section to the manual about the migration to jOOQ 3.0 -
Added reference to changed ExecuteListener configuration
2013-02-04 21:35:07 +01:00
Lukas Eder
649954e76c [#2159] Let ExecuteListener extend Serializable 2013-02-04 20:45:49 +01:00
Lukas Eder
86e581c869 [#1578] Change configuration of ExecuteListeners in Configuration.
Listeners instances should be provided, not classes
2013-02-04 20:39:43 +01:00
Lukas Eder
be484c39bf [#1974] Optimise various Executor.fetchOne() methods, which consume
the whole ResultSet before throwing an InvalidResultException
2013-02-04 19:08:07 +01:00
Lukas Eder
b6cd1e4a94 [#2158] Add Executor.fetchLazy(Table) and fetchLazy(Table, Condition)
for convenience
2013-02-04 19:08:02 +01:00
Lukas Eder
e792c72173 [#1902] Duplicate SELECT API between Executor and Factory 2013-02-04 18:44:18 +01:00
Lukas Eder
1e3fb6d289 [#2157] Change the bounds of various <H extends RecordHandler<R>> H
fetchInto(H handler) methods to RecordHandler<? super R>
2013-02-04 17:25:08 +01:00
Lukas Eder
11f61d7958 Fixed warning 2013-02-04 16:30:25 +01:00
Lukas Eder
adc8a474b4 [#1170] Improve performance on jOOQ's reflection usage - Access
record values by index, rather than by field, to further improve
performance
2013-02-04 16:29:43 +01:00
Lukas Eder
59732b662d [#2154] Generated Records should access values by index, not by
field, for performance reasons - Regenerated H2 schema
2013-02-04 16:22:16 +01:00
Lukas Eder
d62d6c5994 [#2154] Generated Records should access values by index, not by
field, for performance reasons
2013-02-04 16:22:00 +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
54883e3b37 [#1170] Improve performance on jOOQ's reflection usage 2013-02-01 20:46:48 +01:00
Lukas Eder
c4850ad5e1 [#1170] Improve performance on jOOQ's reflection usage - Added benchmark 2013-02-01 18:56:50 +01:00
Lukas Eder
da43b21fa8 Improved benchmark 2013-02-01 16:09:58 +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
8f915549ca [#2144] Improve AbstractField.equals() and AbstractTable.equals() -
null-safe equals() checks
2013-02-01 14:14:06 +01:00
Lukas Eder
cfae02d9ab Improved performance of AbstractRecord.fieldsRow(), resulting in a
14% performance gain in a relevant Record.setValue(),
Record.getValue() benchmark - Regenerated H2 Schema
2013-02-01 14:09:50 +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
212e3c81a6 [#2145] Improve QueryPartList.removeNulls() as this is called very often 2013-01-31 17:38:41 +01:00
Lukas Eder
5a94b69ea0 [#2144] Improve AbstractField.equals() and AbstractTable.equals()
and similar, as these two are called very often
2013-01-31 17:35:20 +01:00
Lukas Eder
b1cd631026 [#2137] Failure to assign a value to a record pojo for a column with
a composite type when using select into. - Regenerated Postgres
database (avoiding JPA annotations)
2013-01-31 14:37:46 +01:00
Lukas Eder
c00cc802c5 [#2137] Failure to assign a value to a record pojo for a column with
a composite type when using select into.
2013-01-31 14:37:23 +01:00
Lukas Eder
8af06e0836 [#2139] batchStore with composite types incorrectly reuses values from
the first record.
2013-01-31 13:15:08 +01:00
Lukas Eder
a97eb571c1 [#2128] Misleading Javadoc in Factory / Executor.selectCount() 2013-01-30 12:01:28 +01:00
Lukas Eder
16dbbf66ac Merge pull request #2127 from joe776/master
Fix a typo in an exception message
2013-01-18 18:01:28 -08:00
Joerg Schoenfisch
a2d95df6d4 Fix a typo in an exception message 2013-01-18 12:51:57 +01:00
jeffska
eefcc7793c Added scala trait and wrappers that implement Param[T] to avoid problems with instanceOf in ParamCollector, and added implicit
conversions from Param[T] to the new wrappers.
2013-01-15 08:39:55 -06: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
d5c7e714d1 [#2113] Document Record.hashCode() and equals() through Javadoc 2013-01-11 11:17:12 +01:00
Lukas Eder
3030a5e792 [#2107] Let Record implement Comparable 2013-01-09 15:26:10 +01:00
Lukas Eder
084fbf04a7 [#2111] Improve org.jooq.Record Javadoc, to explain the various Record
subtypes
2013-01-09 13:00:01 +01:00
Lukas Eder
6fefe2afe3 [#2108] SQLite returns NULL for val(new Date(0)).add(-1) and some other
date time arithmetic expressions
2013-01-08 21:41:11 +01:00
Lukas Eder
0fb2d950aa [#2104] SQLite code generation treats multi-column primary keys like
multiple single-column unique keys - Regenerated SQLite Schema
2013-01-08 12:45:44 +01:00
Lukas Eder
5dc1703cef [#2104] SQLite code generation treats multi-column primary keys like
multiple single-column unique keys
2013-01-08 12:45:29 +01:00
Lukas Eder
a97d3eaaaa [#1801] Add Table.as(String, String...) to allow for creating a table
aliases (correlation names) with derived column lists - Simulate this
for all SQL dialects
2013-01-08 11:00:05 +01:00
Lukas Eder
7da8507ea4 Fixed typo 2013-01-08 10:35:59 +01:00
Lukas Eder
15223f7009 Fixed SQLite tests 2013-01-08 00:10:44 +01:00
Lukas Eder
3c4b88a2a9 [#1801] Add Table.as(String, String...) to allow for creating a table
aliases (correlation names) with derived column lists - Simulate this
for all SQL dialects
2013-01-07 23:46:12 +01:00
Lukas Eder
d3db3b7cb5 Fixed Oracle schema 2013-01-07 23:31:18 +01:00
Lukas Eder
3ceea69651 Fixed typo 2013-01-06 18:15:20 +01:00
Lukas Eder
43cb9fb520 [#2098] NullPointerException when org.jooq.impl.EnumConverter
converts null
2013-01-06 17:49:08 +01:00
Lukas Eder
c34efabcf2 [#1624] Add support for java.util.UUID as a <T> type - Added comment 2013-01-06 17:32:15 +01:00