Commit Graph

1628 Commits

Author SHA1 Message Date
Lukas Eder
dcdceadfb1 Merge pull request #1815 from idugic/master
#1709 update
2012-09-11 12:58:22 -07:00
Ivan Dugic
cd05526a97 [#1709] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...)
Update
2012-09-11 21:49:28 +02:00
Lukas Eder
4aa61514ea [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Removed unnecessary CommandMessage.runCommand()
indirection
2012-09-11 21:27:34 +02:00
Lukas Eder
2898d65145 Fixed copyright header indentation 2012-09-11 21:25:03 +02:00
Lukas Eder
76d271e3e9 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Removed unused LocalMessage
2012-09-11 21:10:27 +02:00
Lukas Eder
09f49a08c2 [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core - Removed
Debugger.modifyBreakpoint(). It does the same as
Debugger.addBreakpoint()
2012-09-11 20:57:30 +02:00
Lukas Eder
a31e00dad1 Fixed warning 2012-09-11 20:49:59 +02:00
Lukas Eder
6931480f51 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Added non-instanciable NoResult (similar to
java.lang.Void) for those Messages that do not return any result
2012-09-11 20:37:01 +02:00
Lukas Eder
3dac920190 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Added ChainedCommandMessage
2012-09-11 20:31:55 +02:00
Lukas Eder
225ab64776 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Removed unused Debugger.setBreakpoints() method
from the public API
2012-09-11 20:26:46 +02:00
Lukas Eder
31dadca8ce Merge branch 'master' of https://github.com/jOOQ/jOOQ.git 2012-09-11 20:22:26 +02:00
Lukas Eder
9d190ff7ca [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core

 - API refactoring: Moved QueryMatcher property from Debugger to
LoggingListener, to simplify API evolution (possibility of
multiple LoggingListeners)
 - Use jOOQ terminology: Query instead of Statement
2012-09-11 20:22:05 +02:00
Lukas Eder
817f0e1e2b Merge pull request #1814 from idugic/master
#1709 change-set
2012-09-11 00:20:01 -07:00
Ivan Dugic
e127a11432 [#1709] Add Map<List<?>, Result<R>> ResultQuery.fetchGroups(Field<?>...) 2012-09-10 22:25:49 +02:00
Lukas Eder
1cc79a4dfb [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Cleaned LoggingListener API - Create
single-POJO-argument methods for better API evolution
2012-09-09 15:35:53 +02:00
Lukas Eder
20859a35dc [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core - Use jOOQ terminology: Query
instead of Statement, Result instead of ResultSet
2012-09-09 15:29:53 +02:00
Lukas Eder
46c6eb4a96 [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core - Remove DebuggerRegistry from
the public API
2012-09-09 15:10:35 +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
fdff1108ef [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core

 - Split CommunicationInterface logic into client/server-side parts
 - Removed unnecessary CommunicationInterfaceFactory
2012-09-09 14:01:30 +02:00
Lukas Eder
46430604bf [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core 

  - Merged org.jooq.debug.console.{remote, remote.messaging} packages
  - Reduced visibility of remote objects
2012-09-09 13:28:34 +02:00
Lukas Eder
c38526ac35 [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core

 - Pulled up DebuggerCommunicationInterface dependency on Debugger
to CommunicationInterface and removed original class
 - Removed transient dependency between Message and
CommunicationInterface (moved it into a new MessageContext, which
is passed to Message.run() methods)
2012-09-09 13:20:43 +02:00
Lukas Eder
45a5b808a3 [#1472] Add a Settings.executeDebugging property, and move
server-side Console logic to core - Inlined
CommunicationInterface.{sync|async}Exec() now that these methods
provide no additional features over {sync|async}Send
2012-09-09 12:51:03 +02:00
Lukas Eder
58d22aa6ea Updated Maven stats 2012-09-09 12:45:08 +02:00
Lukas Eder
cc193ebf2f [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Make CommandMessages immutable by providing
constructors with message arguments
2012-09-09 12:19:01 +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
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
Lukas Eder
a79783aa41 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Renamed ResultSetLoggingData into ResultSetLog
for conciseness
2012-09-08 14:13:57 +02:00
Lukas Eder
b98612e53e [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core

- Renamed QueryLoggingData to StatementLog for consistency (with
StatementInfo)
- Choose composition (StatementLog has a StatementInfo) over inheritance
(StatementLog is a StatementInfo). This will simplify further
refactorings
2012-09-08 14:10:48 +02:00
Lukas Eder
189dc79af9 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Renamed SqlQueryType to QueryType
2012-09-08 13:58:33 +02:00
Lukas Eder
d550287d4d Extracted local variable to global constant 2012-09-08 13:09:40 +02:00
Lukas Eder
8086066e8b [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Inline CommandMessage.{sync|async}Message. This
indirection is not needed, but obscures further refactorings
2012-09-08 13:09:17 +02:00
Lukas Eder
baffa39059 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Inline Message.{sync|async}Send(). This
indirection is not needed
2012-09-08 11:28:33 +02:00
Lukas Eder
8fbe50b8e5 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Suppressed some warnings
2012-09-08 11:24:03 +02:00
Lukas Eder
c263e21eb0 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Added generic type parameter <S extends
Serializable> to Message<S>, to simplify subsequent refactorings
2012-09-08 11:17:35 +02:00
Lukas Eder
cd0aac47e9 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Fixed some warnings
2012-09-08 11:09:22 +02:00
Lukas Eder
f19c6630fe [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Shortened some names to simplify subsequent
refactorings
2012-09-08 10:50:11 +02:00
Lukas Eder
4bc3ae109f [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - MessagingInterface should be package-private
2012-09-08 10:31:31 +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
Lukas Eder
619cb9a738 Merge pull request #1809 from idugic/master
#1708 change-set
2012-09-07 16:26:16 -07:00
Lukas Eder
9010596b87 Added Ivan to the contributor list 2012-09-08 01:15:56 +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