Commit Graph

7657 Commits

Author SHA1 Message Date
tpuica
125388987e fix Travis CI build (line has trailing spaces?) 2017-07-25 17:31:40 +02:00
tpuica
26158ddac6 adapt nextVal() test to the recently modified NEXTVAL operator pattern 2017-07-25 17:13:52 +02:00
tpuica
4964b56845 Merge pull request #1 from tpuica/tpuica-patch-2
Fixed NEXTVAL Operator for MS SQLServer (starting with 2012)
2017-07-25 11:33:43 +02:00
tpuica
f958a95d7f Fixed NEXTVAL Operator for MS SQLServer (starting with 2012) 2017-07-25 11:20:20 +02:00
Balázs Zsoldos
a3c2050928 Removing unnecessary empty line in ConfigurationTest
Forcing Travis to re-execute
2017-07-03 08:01:23 +02:00
Balazs Zsoldos
69961c35d0 Replacing Locale.getDefeault() in tests to English 2017-06-29 21:26:54 +02:00
Balazs Zsoldos
249f0c6678 Merge remote-tracking branch 'querydsl/master' into i2007_Programmatic_Name_Mapping 2017-06-29 21:17:46 +02:00
Kara Hatherly
a8fa6be970 Explicitly sets a timezone for querydsl-sql tests.
Fixes #2098
2017-03-06 17:03:00 +11:00
Kara Hatherly
68d6f37537 Made SQLBindings null-friendly, deprecated null-hostile constructor and getBindings 2017-02-21 15:00:36 +11:00
Timo Westkämper
421049b471 Merge pull request #2075 from gordski/master
Added requiresSchemaInWhere option to SQLTemplates.
2017-02-20 20:33:41 +02:00
Timo Westkämper
95f5cead00 Merge pull request #2101 from grimly/patch-1
Add javax.inject:javax.inject:1:jar as runtime dependency
2017-02-20 20:30:38 +02:00
grimly
36d0d084c9 Removed javax.inject version
It is now managed by the querydsl-root pom
2017-02-17 10:48:54 +01:00
grimly
919dbb4c44 Removed javax.inject version
It is now managed by the querydsl-root pom.
2017-02-17 10:44:32 +01:00
grimly
2e07a56224 Added javax.inject into the dependency management 2017-02-17 10:43:08 +01:00
grimly
e948321ea3 Add javax.inject as direct dependency
Since the javax.inject.Provider interface is imported and used in every constructor of the *QueryFactory classes ( example at https://github.com/querydsl/querydsl/blob/master/querydsl-jpa/src/main/java/com/querydsl/jpa/impl/JPAQueryFactory.java#L17 ), it should be a runtime dependency and not only provided.
2017-02-16 13:04:09 +01:00
Ruben Dijkstra
7dc44bd42e Merge pull request #2019 from skyupward/patch-1
jpa doc Customer entity code invalide "[" token
2017-02-16 10:30:21 +01:00
Kara Hatherly
3b876d14a7 Adds methods to SQLListenerContext to retrieve SQLBindings.
This was added as an alternative to just getting an SQL string. Internally,
SQLListenerContextImpl now only takes SQLBindings and the getSQL and
getSQLStatements methods delegate to SQLBindings#getSQL. This required
shuffling around AbstractSQLQuery and SQL*Clause to create bindings sooner to
pass through to addSQL even though we derive the same data later on inside
AbstractSQLClause#setParameters - I figured this was preferable to larger-scale
refactoring.

Fixes #1839
2017-02-09 10:05:05 +11:00
Gordon Innes
06ac2989f5 Store original state of dmlWithSchema as discussed in #2075. 2017-01-11 23:29:42 +00:00
Gordon Innes
1b4ef3f5b6 Tests for requiresSchemaInWhere option in SQLTemplates. 2017-01-11 23:28:29 +00:00
Gordon Innes
73bc267549 Added requiresSchemaInWhere option to SQLTemplates.
This option allows templates to generate where clauses with the pattern
<SCHEMA>.<TABLE>.<COLUMN> in the column specs.

Derby doesn't appear to support <TABLE>.<COLUMN> when using
<SCHEMA>.<TABLE> in the from unless the default schema is set and matches
the <SCHEMA> in the from clause.
2017-01-11 22:26:26 +00:00
Ruben Dijkstra
13833657b7 Add test for 2059 2016-12-31 11:19:42 +01:00
Ruben Dijkstra
b40b4928f0 Merge pull request #2041 from bmleite/master
Enable AntMetaDataExporter "namingStrategyClass" and "beanSerializerClass" properties
2016-12-15 13:48:44 +01:00
Ruben Dijkstra
a301fe712b Merge pull request #2035 from cstrempfer/enable-morphia-converters
enable Morphia converters
2016-12-15 13:47:46 +01:00
Daniel Balog
a63b68e2d0 Added back getter/setters for backwards compatibility reasons 2016-11-18 18:47:28 +01:00
Daniel Balog
6efae5fb11 Created explicit custom type to fully support nested queries 2016-11-18 18:18:35 +01:00
Daniel Balog
fd6799f0f3 2052: Fixed problem with AntMetaDataExporter not being able to add custom types using build.xml file, or a gradle ant task 2016-11-18 16:55:15 +01:00
Balazs Zsoldos
5dfad907f9 Fixing checkstyle errors 2016-11-06 02:22:33 +01:00
Balazs Zsoldos
d7fbe13ed4 Making register* functions deprecated in Configuration 2016-11-06 02:15:13 +01:00
Balazs Zsoldos
2b90b257c6 100% unit test coverage on namemapping package 2016-11-06 02:14:49 +01:00
Balazs Zsoldos
f688ace375 Merge remote-tracking branch 'querydsl/master' into i2007_Programmatic_Name_Mapping 2016-11-06 00:54:05 +01:00
bmleite
dbaaf0a80d Enable AntMetaDataExporter "namingStrategyClass" and "beanSerializerClass" properties 2016-10-25 18:38:04 +01:00
Christian Strempfer
9b11ae9842 enable Morphia converters 2016-10-10 16:12:42 +02:00
Balazs Zsoldos
0df942e562 Fixing letter case changing in ChangeLetterCaseNameMapping 2016-10-08 12:04:52 +02:00
Balazs Zsoldos
227d4ec451 Making NameMapping test passing the turkey test 2016-10-08 11:57:04 +02:00
Balazs Zsoldos
9337a2c5c5 Renaming ChangeCaseNameMapping to ChangeLetterCaseNameMapping 2016-10-07 00:28:52 +02:00
Balazs Zsoldos
4b21a814d9 Using locales for letter-case changing in name mapping. 2016-10-07 00:25:50 +02:00
Balázs Zsoldos
9580cd3997 Fixing setDynamicNameMapping 2016-10-07 00:12:44 +02:00
Balázs Zsoldos
faa775f6f9 Removing unused imports from configuration 2016-09-27 11:38:58 +02:00
skyupward
479466ce46 jpa doc Customer entity code invalide "[" token
In Jpa document, Customer entity code has wrong token "[" in "setLastName" method. Replacing "[" to "{" make setLastName method become  valid.
2016-09-17 21:52:36 +08:00
Balazs Zsoldos
c6b2decaa1 Adding dynamic name mapping functionality (#2007) 2016-09-06 00:31:21 +02:00
Timo Westkämper
8f96f41627 Merge pull request #2012 from querydsl/querydsl-4.1.5-snapshot
Bump version
2016-09-05 23:42:00 +03:00
Timo Westkämper
35d549e2d9 Bump version 2016-09-05 22:35:47 +03:00
Timo Westkämper
b8a4c162e9 Merge pull request #2011 from querydsl/querydsl-4.1.4
Querydsl 4.1.4
2016-09-05 21:40:57 +03:00
Timo Westkämper
36399e0e67 Querydsl 4.1.4 2016-09-05 20:30:16 +03:00
Timo Westkämper
63f25d60b1 Merge pull request #1988 from querydsl/i1978
Fix serialization
2016-08-30 18:20:48 +03:00
Timo Westkämper
d0bae8af2f Merge pull request #1994 from querydsl/p1990
p1990: Generate constructor with variable and schema parameters
2016-08-16 20:26:22 +03:00
Ruben Dijkstra
b27625e223 Add tests for the new constructor 2016-08-12 21:18:46 +02:00
Ruben Dijkstra
8fe6e30ac9 Polish codegen usage 2016-08-12 21:16:16 +02:00
Ruben Dijkstra
43378ef558 Merge pull request #1973 from robertcsakany/master
#1961 HSQLDB dont use parenthes in Union.
2016-08-10 21:21:36 +02:00
Timo Westkämper
fbfb2087f8 Merge pull request #1986 from querydsl/i1981
Unify dependency versions
2016-08-10 22:19:31 +03:00