Commit Graph

4982 Commits

Author SHA1 Message Date
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
Timo Westkämper
5cffab9a06 Merge pull request #707 from TuomasKiviaho/OrdinalPosition
Support for ORDINAL_POSITION metadata
2014-04-10 21:15:59 +03:00
Timo Westkämper
7d80117a64 Merge pull request #708 from balazs-zsoldos/master
Supporting Insert statements without values (default values)
2014-04-10 21:15:41 +03: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
00335b4d7c Merge pull request #700 from mysema/i697
Improve projection code generation
2014-04-10 15:03:10 +03:00
Tuomas Kiviaho
313ecf7d87 Using internals to get list of columns instead of public API. 2014-04-10 12:54:34 +03:00
balazs-zsoldos
ac5eeb96b7 DefaultValues support
- Adding tests (HSQLDB and Derby excluded)
- Removing default values support from merge statements
- Setting "\ndefault values" to HSQLDB as defaultValues
2014-04-10 10:26:31 +02:00
balazs-zsoldos
3fe861e727 Merge remote-tracking branch 'myschema/master' 2014-04-10 10:19:42 +02:00
Tuomas Kiviaho
4ec6da5e45 added support for ORDINAL_POSITION metadata 2014-04-10 08:31:14 +03:00
balazs-zsoldos
ab33e553e7 Adding support for "default values" in insert and merging statements
SQLTemplates now has a new field called defaultValues. The value of the
field:

CUBRID: DEFAULT VALUES
Postgresql DEFAULT VALUES // tested
MySQL: VALUES() // tested
H2: VALUES() // tested
HSQLDB: VALUES()
Oracle: VALUES()
SQLServer DEFAULT VALUES
SQLite: : DEFAULT VALUES
Derby: VALUES (DEFAULT) // only works if there is only one column in the 
                           table.
Teradata: DEFAULT VALUES
2014-04-09 16:00:41 +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
balazs-zsoldos
76134247b5 Merge remote-tracking branch 'myschema/master' 2014-04-09 08:45:31 +02:00
Timo Westkämper
9037b0952b Add Comparable support 2014-04-08 21:24:31 +03:00
Timo Westkämper
1132153953 Merge pull request #701 from mysema/i698
Improve order expression handling
2014-04-08 15:04:20 +03:00
balazs-zsoldos
d999b52551 Adding defaultValues for "insert into" to SQLTemplates (not tested) 2014-04-08 07:11:14 +02:00
Timo Westkämper
c92a0ed080 Improve order expression handling 2014-04-07 21:30:26 +03:00
Timo Westkämper
4aa045bdee Improve projection handling 2014-04-07 16:31:04 +03:00
Timo Westkämper
3812288e86 Add test #686 2014-04-02 17:36:44 +03:00
Timo Westkämper
87cfd7346b Enable Dates test for select tests with literals 2014-04-02 17:30:08 +03:00
Timo Westkämper
c6d0651511 Add test #691 2014-04-02 16:45:34 +03:00
Timo Westkämper
2dab7d115e Upgrade codegen dependency to 1.6.2 #680 2014-04-02 11:58:03 +03:00
Timo Westkämper
e8a1b69ae8 Merge pull request #694 from Shredder121/patch-1
Typo in documentation #693
2014-04-01 12:58:06 +03:00
Ruben Dijkstra
d55d38213c Typo in documentation #693 2014-04-01 11:52:09 +02:00
Timo Westkämper
794b922e1b Merge pull request #689 from mysema/i678
Change FactoryExpression serialization
2014-03-31 23:08:53 +03:00
Timo Westkämper
150622d2b5 Merge 2014-03-31 23:08:27 +03:00
Timo Westkämper
63a52b2edf Add test 2014-03-31 23:04:13 +03:00
Timo Westkämper
34a16bb6f7 Add imports #691 2014-03-31 22:45:10 +03:00
Timo Westkämper
d37ac149a5 Extend test #691 2014-03-31 22:40:46 +03:00
Timo Westkämper
dacdb3975b Add test #691 2014-03-31 22:27:43 +03:00
Timo Westkämper
4e729f5750 Fix test locations 2014-03-31 18:44:37 +03:00
Timo Westkämper
3b6229841c Add test #678 2014-03-31 16:26:06 +03:00
Timo Westkämper
571e709fd5 Add test #678 2014-03-31 16:21:46 +03:00
Timo Westkämper
d69c96210c Change FactoryExpression serialization #678 2014-03-30 22:06:42 +03:00
Timo Westkämper
0865bca8f0 Improve test 2014-03-30 20:59:48 +03:00
Timo Westkämper
b8f3a568d8 Format pom 2014-03-30 20:57:20 +03:00
Timo Westkämper
7628e64e8e Add test #686 2014-03-30 20:57:03 +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
Timo Westkämper
9b709c2bfd Merge pull request #684 from Shredder121/constructorexpression_exception_string
invoke the toString method on the Class objects.
2014-03-25 20:21:29 +02: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
1d6e481568 Fix comparison of properties #683 2014-03-25 14:15:41 +02:00
Timo Westkämper
8c6afde7b6 Add ManyToMany.targetEntity handling #675 2014-03-25 11:15:14 +02:00
Timo Westkämper
8fcb7448b2 Improve targetEntity handling #675 2014-03-25 09:55:55 +02:00
Timo Westkämper
d15fb64eb5 Unify name normalization #683 2014-03-25 00:16:02 +02:00
Timo Westkämper
6035ed3d3f Update lucene readmes 2014-03-24 10:14:20 +02:00
Timo Westkämper
a712badd90 Format readmes 2014-03-24 10:12:56 +02:00