Commit Graph

1924 Commits

Author SHA1 Message Date
Ruben Dijkstra
d2cc339bc4 Deep toString for exception string. 2014-04-23 19:14:42 +02:00
Ruben Dijkstra
30c66e177f Map datastructure not necessary, the parametertypes are available already. 2014-04-23 09:09:45 +02:00
Ruben Dijkstra
c4e0f7e972 Added a primitive aware varargstransformer. 2014-04-22 20:26:14 +02:00
Ruben Dijkstra
41524d011c Edited the Nullable contract, which now is a no-op instead of throwing an exception on null arguments.
Renamed ConstructorArgumentTransformer to ArgumentTransformer.
2014-04-22 19:41:38 +02:00
Ruben Dijkstra
006ecb4f62 Changed redundant conditional check. 2014-04-18 00:07:52 +02:00
Ruben Dijkstra
46618222cc Removed the try-catch for the varargsconstructortransformer. 2014-04-17 18:53:10 +02:00
Ruben Dijkstra
4b2882f2ce Removed the List wrapping. 2014-04-15 22:18:43 +02:00
Ruben Dijkstra
610cb634c2 ConstructorUtilsTest update. 2014-04-15 09:28:21 +02:00
Ruben Dijkstra
36ee71ad0c Default values for varargs array.
Tests updated to reflect desired behavior.
Cleanup step and improvements are scheduled next.
2014-04-15 00:08:41 +02:00
Ruben Dijkstra
92b978bda9 Replaced System.arraycopy with reflective array access.
This solves ArrayStoreExceptions that would otherwise occur with a primitive array.
2014-04-12 01:00:50 +02:00
Ruben Dijkstra
3ff199fe61 ConstructorUtilsTest doesn't need to prepare an exception string, so a delegate method is not necessary. 2014-04-10 22:34:32 +02:00
Ruben Dijkstra
7779515f59 Extra normalization, otherwise compatibility is not guaranteed. 2014-04-10 21:31:07 +02:00
Ruben Dijkstra
ce2c062b44 Merged issue679 branch because of foreseen conflicts.
- conflicting getRealParameters moved to ConstructorUtils.

Merge branch 'master' of github.com:mysema/querydsl into issue679

Conflicts:
	querydsl-core/src/main/java/com/mysema/query/types/ConstructorExpression.java
2014-04-10 21:12:15 +02:00
Ruben Dijkstra
59761a03b6 amount of arguments of tested constructor should match in ProjectionsTest.Constructor_VarArgs2() 2014-04-10 21:08:05 +02:00
Ruben Dijkstra
0e27fbfd86 Moved Constructor related logic to ConstructorUtils.
Created tests for ConstructorUtils.
Updated ArrayUtils with isempty check.
ProjectionsTest edited, varargs missed an extra parameter.
2014-04-10 20:08:37 +02:00
Timo Westkämper
e53b05cf71 Merge pull request #703 from mysema/i702
Add Comparable support
2014-04-09 12:57:19 +03:00
Timo Westkämper
00f058a959 Create specialized versions based on runtime type 2014-04-09 11:50:51 +03:00
Timo Westkämper
9037b0952b Add Comparable support 2014-04-08 21:24:31 +03:00
Timo Westkämper
c92a0ed080 Improve order expression handling 2014-04-07 21:30:26 +03:00
Ruben Dijkstra
19321b08eb commented the call to varargsconstructorprovider 2014-03-25 21:50:58 +01:00
Ruben Dijkstra
03f92aa55f initial commit ConstructorProvider 2014-03-25 21:46:42 +01:00
Ruben Dijkstra
e501a0bdca invoke the toString method on the Class objects.
this allows for more verbose exception strings (class and interface keywords, or no keywords when primitive)
2014-03-25 17:44:28 +01:00
Timo Westkämper
c63b8143aa Bump version 2014-03-24 10:08:54 +02:00
Timo Westkämper
b461186fee Bump version 2014-03-24 10:07:02 +02:00
Ruben Dijkstra
5c38c2208f In-place default primitive adjustment for ConstructorExpression 2014-03-21 11:21:09 +01:00
Ruben Dijkstra
df8c1e82f1 Constructorexpression default values for primitives. 2014-03-21 00:12:29 +01:00
Timo Westkämper
a33d00f1c7 Improve Expression de/serialization behaviour #676 2014-03-11 21:38:56 +02:00
Timo Westkämper
71bac465f2 Fix any path expansion #671 2014-02-22 08:46:22 +02:00
Timo Westkämper
6649e65a5d Add count distinct for RelationalPathBase 2014-02-09 00:42:34 +02:00
Timo Westkämper
bae9d1de2d Bump version 2014-02-08 21:19:16 +02:00
Timo Westkämper
8383bd49bd Bump version 2014-02-08 21:18:45 +02:00
Timo Westkämper
52d458dbba Make QTuple$TupleImpl serializable #640 2014-01-30 22:40:05 +02:00
Timo Westkämper
b7c5bc8686 Make PathBuilder non-final #642 2014-01-30 22:38:33 +02:00
Timo Westkämper
c31f9d1750 Remove redundant throws 2014-01-25 19:38:23 +02:00
Timo Westkämper
2da96256bb Add Enum support #635 2014-01-21 19:51:27 +02:00
Timo Westkämper
ff719c4d5d Further conversion improvements #620 #626 2014-01-14 21:00:25 +02:00
Timo Westkämper
493e84eee5 Improve native query result mapping #620 2014-01-13 23:34:49 +02:00
Timo Westkämper
40ca570544 Fix TemplateExpression equals contract 2014-01-10 23:45:32 +02:00
Timo Westkämper
e34376842f Add consistent conversion for multi argument projections #620 2014-01-08 22:00:11 +02:00
Timo Westkämper
16cd6d9697 #614 Add license headers and javadocs 2014-01-05 22:12:10 +02:00
Timo Westkämper
afa20018e8 Merge pull request #570 from TuomasKiviaho/GroupExpressionNesting
Support for group expression nesting
2014-01-05 12:04:40 -08:00
Timo Westkämper
c39e2139be Bump version 2013-12-23 01:11:16 +02:00
Timo Westkämper
be3423596f Bump version 2013-12-23 01:10:41 +02:00
Timo Westkämper
2499274714 Bump version 2013-12-20 15:41:48 +02:00
Timo Westkämper
da192b89c4 Fix javadocs #604 2013-12-20 00:08:01 +02:00
Timo Westkämper
694bab52cd Use extract function as default for datetime field extraction #586 2013-12-19 10:33:09 +02:00
Timo Westkämper
dc7a70c9ce Merge branch 'master' into teradata 2013-12-19 09:02:59 +02:00
Timo Westkämper
3f4dd57bd5 Add count via analytics for oracle, postgresql and teradata #556 2013-12-17 15:21:28 +02:00
Timo Westkämper
06fb07c6a3 Remove redundant throws 2013-12-15 21:20:08 +02:00
Timo Westkämper
54937f00fa Remove redundant modifier 2013-12-15 21:16:56 +02:00