Commit Graph

651 Commits

Author SHA1 Message Date
Lukas Eder
0526ac1bc6 [#1854] Add ResultQuery.maxRows(int) to limit the number of actually
fetched records
[#1856] Add Query.queryTimeout(int) to support for JDBC's
Statement.setQueryTimeout()
2012-10-07 12:36:53 +02:00
Lukas Eder
69187ee0ed [#1756] Add RecordMapper<E>, similar to RecordHandler<R>, mapping
records to custom types
2012-09-28 18:36:13 +02:00
Lukas Eder
d82d95ef78 [#1848] Add Record.changed() to indicate whether a Record contains
"dirty" values
2012-09-28 17:41:09 +02:00
Lukas Eder
f23491be9e [#1849] Add Record.original() to obtain the originally fetched values
from a Record - Added an additional test
2012-09-28 17:30:11 +02:00
Lukas Eder
9f2a848b07 [#1849] Add Record.original() to obtain the originally fetched values
from a Record
2012-09-28 17:16:40 +02:00
Lukas Eder
e976d79243 [#1472] Move org.jooq.tools.debug API from jOOQ Console to core
- Added Debugger.executor(), to re-enable jOOQ Console Editor
functionality
 - Renamed DebuggerFactory to DebuggerAPI (may be improved)
 - Reverted Settings flags to activate the Debugger Server
 - Added explicit API in DebuggerAPI to start / stop the Debugger Server
 - Added DebuggerAPI.debug property for global activation / deactivation
of debugging
2012-09-28 15:57:36 +02:00
Lukas Eder
a15c83fc25 [#1844] Add Table<Record> Table.join(TableLike<?>, JoinType) to allow
for dynamic joining
2012-09-26 22:38:44 +02:00
Lukas Eder
20d9d02cdc [#1472] Move org.jooq.tools.debug API from jOOQ Console to core - Added
QueryExecutor.schemata(), .tables(Schema), .fields(Table) in order to
query for meta data
2012-09-24 23:33:49 +02:00
Lukas Eder
837a6fe600 Fixed compilation error 2012-09-23 12:31:46 +02:00
Lukas Eder
f9f351762c [#1709] Add Map<Record, Result<R>> ResultQuery.fetchGroups(Field<?>[])
- Changed result Map key from List<?> to Record
 - Fixed some debugger-related issues
2012-09-23 12:24:07 +02:00
Lukas Eder
323a62e426 [#1816] Add support for materialized views in Oracle's code generator -
Regenerated test classes
2012-09-22 14:15:48 +02:00
Lukas Eder
0640efc113 [#1816] Add support for materialized views in Oracle's code generator 2012-09-22 14:15:06 +02:00
Lukas Eder
b1ff568f41 [#1837] Add support for @java.beans.ConstructorProperties when
fetching into immutable POJOs
2012-09-22 13:44:48 +02:00
Lukas Eder
dda85af4b4 [#1472] Move org.jooq.tools.debug API from jOOQ Console to core -
Restored match count feature
2012-09-19 16:37:28 +02:00
Lukas Eder
142594e67d [#1472] Move org.jooq.tools.debug API from jOOQ Console to core -
Added instead processor
2012-09-19 16:02:43 +02:00
Lukas Eder
eaf50d8b57 [#1829] Factory.execute(String) may cause errors when plain SQL
returns results
2012-09-19 16:02:06 +02:00
Lukas Eder
30121c3da2 Merge branch 'master' of https://github.com/jOOQ/jOOQ.git 2012-09-18 22:46:48 +02:00
Ivan Dugic
45e6356e4e [#1810 Add <T, E> Map<T, E> ResultQuery.fetchMap(Field<T>, Class<E>) and
Result.intoMap(Field<T>, Class<E>)]
2012-09-18 22:28:03 +02:00
Lukas Eder
337b158648 [#1472] Move org.jooq.tools.debug API from jOOQ Console to core - Added
QueryOrigin property to QueryLog
2012-09-16 23:37:41 +02:00
Lukas Eder
d9bf1c5703 [#1472] Move org.jooq.tools.debug API from jOOQ Console to core 2012-09-16 18:10:06 +02:00
Lukas Eder
5b40017df6 [#1819] MappingException in Record.into(Class), when POJO setters
have applicable names but non-applicable argument types
2012-09-14 10:33:46 +02:00
Lukas Eder
bac4bb1178 [#1818] SQL Server "cannot insert explicit value for identity column
when IDENTITY_INSERT is set to OFF." - Added test case
2012-09-14 09:47:05 +02:00
Lukas Eder
b2743b6d9a Improved toString() method 2012-09-12 19:47:14 +02:00
Ivan Dugic
cd05526a97 [#1709] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...)
Update
2012-09-11 21:49:28 +02:00
Ivan Dugic
e127a11432 [#1709] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...) 2012-09-10 22:25:49 +02:00
Lukas Eder
7c60d72448 [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core

 - Created org.jooq.tools.debug API package
 - Created org.jooq.tools.debug.impl implementation package
 - Resolved package-dependencies to hide implementation facts from
the Console client implementation
2012-09-09 14:50:39 +02:00
Lukas Eder
a96d960cb7 Test console shouldn't run in-process 2012-09-09 12:15:36 +02:00
Lukas Eder
99aaad3022 Forgotten checkin 2012-09-09 11:20:51 +02:00
Lukas Eder
d550287d4d Extracted local variable to global constant 2012-09-08 13:09:40 +02:00
Lukas Eder
0b9a667ae8 Improved POJO-related test cases. Don't catch ReflectException to
discover whether POJOs are available.
2012-09-08 10:12:41 +02:00
Lukas Eder
cd3d563e8d [#1708] Add <T, E> Map<T, List<E>> ResultQuery.fetchGroupsInto(Field<T>,
Class<E>)

- Fixed test for those test configurations, that do not generate POJOs
- Added more regression tests (not just checking for getId(), but also
getTitle()). This will be important for optimisation tasks like #1808
2012-09-08 10:01:46 +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
25996db3f7 [#1719] Make logic from ResultQuery.fetchArray() available in
Result.intoArray()
2012-09-07 12:09:09 +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
f5235455e7 [#1802] Result.into(Table) doesn't work correctly, if the same field
name appears twice in Result - Added integration test
2012-09-06 23:05:53 +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
310c62fbaf Merge branch 'master' of https://github.com/idugic/jOOQ into idugic-master 2012-09-04 23:32:57 +02:00
Ivan Dugic
3007782fc8 Removed jOOQ prefix from test cases and launch configuration. 2012-09-04 22:14:40 +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
b3ef0ee3f7 [#1788] Verify @Support annotation correctness for FOR UPDATE clause -
Fixed tests. FOR UPDATE .. OF is executed by default, skipped only
explicitly
2012-09-02 15:32:23 +02:00
Lukas Eder
d9c8a91a83 [#1786] Fix SEQUENCE support for Firebird 2012-09-02 14:46:33 +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
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
26eb0bda24 [#1783] Generate @SuppressWarnings("all") in jOOQ-generated artefacts -
Regenerated all schemata
2012-09-01 12:09:57 +02:00
Lukas Eder
27ac37a751 [#1077] Add support for the SQL standard OVERLAPS predicate 2012-08-30 22:51:20 +02:00
Lukas Eder
81d68ad165 [#1766] Simulate tuple comparisons where they are not supported 2012-08-30 19:50:42 +02:00