Commit Graph

7050 Commits

Author SHA1 Message Date
Zoltán Reegn
f52c728f15 add tests for enabling note logging 2018-01-16 11:44:06 +01:00
Zoltán Reegn
d92743ec29 make NOTE diagnostic printing in APT optional
Since javac doesn't support hiding only NOTE diagnostic messages,
you have to hide them together with WARN. That's usually not what
you want however, since compiler WARN messages might point out
bugs in your code, so you would want to leave them on.

Solution is to not print NOTE by default and enable it with an
additional compiler arg with -A:
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html#options

With this change that means you can pass -Aquerydsl.logInfo=true
will
enable NOTE messages, but by default they are not logged.

resolves #2032
2018-01-16 11:36:00 +01:00
Timo Westkämper
7afba09756
Merge pull request #2201 from querydsl/i2138
Fix missing scope for jda dependency in querydsl-apt
2018-01-12 20:31:57 +02:00
Timo Westkämper
215a56b627
Merge pull request #2211 from lpandzic/sql-server-2016-support
added SQL Server 2016 support to SQLTemplatesRegistry
2018-01-12 20:31:23 +02:00
Timo Westkämper
a8452ec2cb
Merge pull request #2172 from tpuica/master
Fixed NEXTVAL Operator for MS SQLServer (starting with 2012)
2018-01-12 20:29:44 +02:00
Timo Westkämper
a2106dc384
Merge pull request #2054 from danielbalog/2052
2052: Fixed problem with custom types in ant metadata exporter
2018-01-12 20:29:05 +02:00
Timo Westkämper
17fd2c073c
Merge pull request #2093 from atlassian/i1839
Adds methods to SQLListenerContext to retrieve SQLBindings.
2018-01-12 20:28:34 +02:00
Timo Westkämper
d8480960b4
Merge pull request #2072 from querydsl/i2059
Add test for 2059
2018-01-12 20:27:52 +02:00
Timo Westkämper
74ccec396f
Merge pull request #2103 from gordski/dml-with-schema
Store original state of dmlWithSchema
2018-01-12 20:27:33 +02:00
Timo Westkämper
0c8b61db8c
Merge pull request #2234 from querydsl/oracle-travis
Dockerize oracle, mysql, postgres, cubrid, firebird, db2, and mongo
2018-01-12 20:26:43 +02:00
Ruben Dijkstra
b64c4b4ec6
Merge pull request #2193 from ikonglong/master
Upgrade mongodb-driver and morphia
2018-01-12 16:59:35 +01:00
Ruben Dijkstra
eb3c220b72
Merge pull request #2104 from atlassian/i2098
Explicitly sets a timezone for querydsl-sql tests.
2018-01-09 20:11:11 +01:00
Ruben Dijkstra
97b505e806
Merge pull request #2178 from nealeu/master
Show property names list when QueryInit path fails
2018-01-09 19:55:39 +01:00
Neale Upstone
c261e079cd Re-instate whitespace that broke checkstyle in build 2018-01-07 22:31:15 +00:00
John Tims
0f86f68619 Dockerize oracle, mysql, postgres, cubrid, firebird, db2, and mongo 2017-12-29 15:39:42 -07:00
lpandzic
51e471432e added SQL Server 2016 support to SQLTemplatesRegistry 2017-10-10 15:33:19 +02:00
Ruben Dijkstra
86b40837f7 Fix missing scope for jda dependency in querydsl-apt 2017-09-08 21:07:33 +02:00
konglong
16232a382a Upgrade java mongodb driver from v2.10.0 to v3.5.0; 2017-08-29 10:16:20 +08:00
konglong
d5f402c398 upgrade mongo driver and morphia 2017-08-28 21:33:17 +08:00
Neale Upstone
3d9dc69c3b Show property names list when QueryInit path fails 2017-08-06 22:19:08 +01:00
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
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
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
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
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