Commit Graph

699 Commits

Author SHA1 Message Date
Lukas Eder
a31e00dad1 Fixed warning 2012-09-11 20:49:59 +02:00
Ivan Dugic
e127a11432 [#1709] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...) 2012-09-10 22:25:49 +02:00
Lukas Eder
921056dba0 [#1708] Add <T, E> Map<T, List<E>> ResultQuery.fetchGroupsInto(Field<T>,
Class<E>) 

 - Renamed "fetchIntoGroups" to "fetchGroups"
 - Replaced usage of LinkedList by ArrayList
2012-09-09 09:54:58 +02:00
Ivan Dugic
d8aac367f5 [#1708] Add <T, E> Map<T, List<E>> ResultQuery.fetchGroupsInto(Field<T>,
Class<E>)
2012-09-07 21:54:01 +02:00
Lukas Eder
eeaa60bee8 [#600] Add support for Oracle / SQL Standard linear regression functions 2012-09-07 16:30:45 +02:00
Lukas Eder
7f3e0fb63d [#1808] Optimise various ResultQuery.fetch(int),
ResultQuery.fetch(String) methods. They don't need to fetch all fields,
only the required ones - Added a comment
2012-09-07 12:38:08 +02:00
Lukas Eder
25996db3f7 [#1719] Make logic from ResultQuery.fetchArray() available in
Result.intoArray()
2012-09-07 12:09:09 +02:00
Lukas Eder
1b7ee88984 [#1807] Result.intoArray() declares "throws MappingException", which
isn't true
2012-09-07 11:35:11 +02:00
Lukas Eder
85cb1067f8 [#1802] Result.into(Table) doesn't work correctly, if the same field
name appears twice in Result - Improve Record.into(Table) Javadoc
2012-09-07 11:02:19 +02:00
Lukas Eder
54e33892c0 [#1802] Result.into(Table) doesn't work correctly, if the same field
name appears twice in Result
2012-09-07 10:52:47 +02:00
Lukas Eder
edd616a3a7 [#1806] Let Record.toString() wrap the record in a temporary Result and
call Result.toString() instead
2012-09-07 09:33:25 +02:00
Lukas Eder
1c9511e329 Added some Javadoc to AbstractDelegatingSelect 2012-09-06 22:55:52 +02:00
Lukas Eder
d20fe113a0 [#1800] Deprecate AliasProvider 2012-09-05 20:43:57 +02:00
Lukas Eder
a32cc252ef [#1797] SQL syntax errors when plain SQL contains comments with question
marks and SQL is executed as StatementType.STATIC_STATEMENT
2012-09-05 20:35:55 +02:00
Lukas Eder
0b0a260620 [#1792] Factory.fieldByName() and tableByName() do not correctly escape
quotes
2012-09-05 19:04:31 +02:00
Lukas Eder
e7dbb66881 [#1674] Export data types with Result.formatXML() and
Result.formatJSON() exports - Documented changes in manual and Javadoc
2012-09-05 18:16:20 +02:00
Lukas Eder
c02ab72d7b [#1674] Export data types with Result.formatXML() and
Result.formatJSON() exports - Fixed formatXML() namespace
2012-09-04 23:46:12 +02:00
Lukas Eder
310c62fbaf Merge branch 'master' of https://github.com/idugic/jOOQ into idugic-master 2012-09-04 23:32:57 +02:00
Ivan Dugic
9242a5c510 [#1674] Export data types with Result.formatXML() and
Result.formatJSON() exports
2012-09-04 21:25:03 +02:00
Lukas Eder
3eb857e196 [#1058] Add <T1, T2, .. TN> Factory.row(T1, T2, .. TN) and
Factory.row(Field<T1>, Field<T2> ... Field<TN>) to allow for creating
tuples / rows - Renamed "TUPLE" into "ROW" to follow the SQL standard
2012-09-04 20:39:15 +02:00
Lukas Eder
79f36b69df [#1679] Add Factory.table(String, QueryPart...) 2012-09-02 17:41:28 +02:00
Lukas Eder
5f65aa4e8c Add Tuple.getFields() 2012-09-02 16:23:12 +02:00
Lukas Eder
15f0b8b813 [#1764] Add missing @Support({ ... FIREBIRD ... }) annotations 2012-09-02 15:30:58 +02:00
Lukas Eder
d9c8a91a83 [#1786] Fix SEQUENCE support for Firebird 2012-09-02 14:46:33 +02:00
Lukas Eder
b42fc21322 [#1484] Let XJC-generated artefacts implement Cloneable 2012-09-02 12:13:06 +02:00
Lukas Eder
a6b69a6edf [#1245] - Improve formatting for DECIMAL data types in Result.format() -
Improved test case, removed trimming of trailing zeroes
2012-09-02 09:40:23 +02:00
Lukas Eder
d1c81e84b5 Merge pull request #1785 from idugic/master
#1245
2012-09-01 12:16:43 -07:00
Ivan Dugic
57ea195109 [#1245] Improve formatting for DECIMAL data types in Result.format().
Nicely align the decimal point and reserve space on both sides

Who would say some jUnit test will fail? Cool.
2012-09-01 19:55:08 +02:00
Ivan Dugic
d1142d2a62 [#1245] - Improve formatting for DECIMAL data types in Result.format().
Nicely align the decimal point and reserve space on both sides
2012-09-01 18:51:12 +02:00
Lukas Eder
172d2e80fa [#1728] Add support for the MySQL COUNT(DISTINCT expr, expr...)
aggregate function syntax
2012-09-01 17:58:18 +02:00
Lukas Eder
86121ae906 [#1058] Add <T1, T2, .. TN> Factory.tuple(T1, T2, .. TN) and
Factory.tuple(Field<T1>, Field<T2> ... Field<TN>) to allow for creating
tuples - Pull up in(Select<?>) and notIn(Select<?>) methods
2012-09-01 17:37:32 +02:00
Lukas Eder
7b698497ec [#1784] Enhance the BETWEEN predicate, introducing the AND keyword 2012-09-01 17:02:21 +02:00
Lukas Eder
eb9264e00d Fixed some warnings 2012-09-01 12:14:22 +02:00
Lukas Eder
7ba5bb1beb [#1782] Move JAXB bindings out of XSD, in order to support more advanced
bindings
2012-09-01 11:43:45 +02:00
Lukas Eder
4f5593d8b4 [#1774] QueryPart.toString() does not load default settings from
classpath
2012-09-01 10:39:30 +02:00
Lukas Eder
2a235ff569 Store SchemaMapping to local variable 2012-09-01 10:20:33 +02:00
Lukas Eder
27ac37a751 [#1077] Add support for the SQL standard OVERLAPS predicate 2012-08-30 22:51:20 +02:00
Lukas Eder
86d3792960 [#1583] Add support for tuple expressions in UPDATE statements: UPDATE
.. SET (A, B, C) = (SELECT X, Y, Z) - Added Tuple marker interface
2012-08-30 20:43:48 +02:00
Lukas Eder
334cd69b19 [#1762] Add package-info.java to add Javadoc documentation to all
packages
2012-08-30 20:34:21 +02:00
Lukas Eder
81d68ad165 [#1766] Simulate tuple comparisons where they are not supported 2012-08-30 19:50:42 +02:00
Lukas Eder
490478cd38 [#1768] NullPointerException when DAO.fetchOne() returns no record 2012-08-30 18:39:19 +02:00
Lukas Eder
69a23ecb0d [#1058] Add <T1, T2, .. TN> Factory.tuple(T1, T2, .. TN) and
Factory.tuple(Field<T1>, Field<T2> ... Field<TN>) to allow for creating
tuples
2012-08-29 22:26:19 +02:00
Lukas Eder
546672ca94 [#1763] Remove useless internal NamedQueryPartList 2012-08-29 19:02:08 +02:00
Lukas Eder
ebef56c7d8 [#1744] Add support for the CUBRID DECR() function 2012-08-28 20:00:34 +02:00
Lukas Eder
bea0a4917b [#1751] Result.intoResultSet() generates wrong ResultSetMetaData
if runtime schema mapping is applied
2012-08-28 19:58:46 +02:00
Lukas Eder
7d569a9e54 Release 2.6.0-SNAPSHOT 2012-08-28 19:45:25 +02:00
Lukas Eder
c8d3b0789b Fixed BETWEEN SYMMETRIC for Sybase ASE 2012-08-26 09:45:28 +02:00
Lukas Eder
b38d698ae9 [#1741] Deprecate org.jooq.MasterDataType 2012-08-25 17:37:13 +02:00
Lukas Eder
8b605c86b5 [#1736] Deprecate TableRecord.{store|refresh|delete}Using() methods as
being part of jOOQ's internal API
2012-08-25 15:05:46 +02:00
Lukas Eder
d22941a1f6 Fixed warnings 2012-08-25 15:03:07 +02:00