Commit Graph

1546 Commits

Author SHA1 Message Date
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
6cd084e77f [#1830] Allow for passing null or empty arrays to intoMap(Field[]) and
intoGroups(Field[])
2012-09-16 22:46:42 +02:00
Lukas Eder
907b0d45cf Removed unnecessary throws clauses 2012-09-16 22:41:24 +02:00
Lukas Eder
c6a238e9b9 [#1472] Move org.jooq.tools.debug API from jOOQ Console to core 2012-09-16 22:39:08 +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
362bae68e0 [#1828] Reduce log level for Factory deserialisation to TRACE 2012-09-14 11:50:14 +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
83f5bf8388 [#1820] Cannot fetch into non-public POJO classes. Their members /
getters / setters should be made accessible
2012-09-14 09:27:39 +02:00
Lukas Eder
1ae5227d9d [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Added runtime setting
2012-09-13 18:44:45 +02:00
Lukas Eder
abad0c6a63 [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Removed unused parameter
2012-09-12 20:10:56 +02:00
Lukas Eder
b2743b6d9a Improved toString() method 2012-09-12 19:47:14 +02:00
Lukas Eder
f231df8c82 Fixed typo 2012-09-11 23:36:46 +02:00
Lukas Eder
ba5bdd2c7b [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core

 - Extracted ExecutionType into its own file
 - Added some Javadoc
2012-09-11 22:40:32 +02:00
Lukas Eder
7d3b83a97d [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core - Fixed wrong breakpoint ID comparisons
2012-09-11 22:05:47 +02:00
Lukas Eder
92b8bbd3e4 Merge branch 'master' of https://github.com/jOOQ/jOOQ.git 2012-09-11 22:03:18 +02:00
Lukas Eder
a19755f40a [#1472] Add a Settings.executeDebugging property, and move server-side
Console logic to core

 - Made Breakpoint "more" immutable
 - Let Breakpoint use a UUID as ID, instead of a locally incremented int
2012-09-11 22:02:55 +02:00
Lukas Eder
c4a79ad6ee Fixed a warning 2012-09-11 22:00:12 +02:00
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