Commit Graph

2377 Commits

Author SHA1 Message Date
John Tims
83c5a09459 Run tests against oracle 2020-05-28 12:19:13 -06:00
John Tims
58cb9561f4
Merge pull request #2597 from querydsl/pr-2419
fix for mssql table hints on joins
2020-05-28 08:12:44 -06:00
frkator
19dfa725d4 fix for mssql table hints on joins 2020-05-28 06:14:15 -06:00
John Tims
47b488f1e8 Run tests against sqlserver 2020-05-27 15:27:51 -06:00
John Tims
f2dc9582bd Ignore failing db2 tests 2020-05-19 17:49:12 -06:00
John Tims
dcab849c24 Use official db2 artifact 2020-05-19 17:48:07 -06:00
John Tims
aee2f56adb Querydsl 4.3.2-SNAPSHOT 2020-03-26 16:12:09 -06:00
John Tims
d514fd024f Querydsl 4.3.1 2020-03-26 12:54:48 -06:00
Balázs Zsoldos
f095bf0863
[SQL] Apply column name override in executeWithKey call (#2280)
* fix(SQL): Apply column name override in executeWithKey call
2020-03-23 09:56:34 +02:00
John Tims
a8b2f49535 Bump version to 4.3.1-SNAPSHOT 2020-03-15 17:55:55 -06:00
John Tims
043a871638 Querydsl 4.3.0 2020-03-13 12:08:27 -06:00
Ido Salomon
c1dc00ca66 Revert "issue-2303: Consider optimising AbstractSQL::newInstance (becomes a bottleneck for small queries)"
This reverts commit 1b2af5510d.
2020-03-02 23:28:19 +02:00
Rajesh Balamohan
1b2af5510d issue-2303: Consider optimising AbstractSQL::newInstance (becomes a bottleneck for small queries) 2020-03-02 18:42:27 +02:00
John Tims
a221cd4d34 Querydsl 4.2.3-SNAPSHOT 2019-11-24 09:45:17 -07:00
John Tims
f2107a8242 Querydsl 4.2.2 2019-11-23 12:20:24 +02:00
Timo Westkämper
8321eeab36 Querydsl 4.2.1 2018-03-20 19:04:55 +02:00
Timo Westkämper
5f67540035 Add missing casts 2018-03-18 21:45:49 +02:00
Timo Westkämper
e709bf6334
Merge pull request #2269 from querydsl/querydsl-4.2.0
Querydsl 4.2.0
2018-03-17 19:03:36 +02:00
Ruben Dijkstra
62d0ad4d76
Merge pull request #2241 from reegnz/fix-throws-javadoc
Explicitly declare NonUniqueResultException for fetchOne
2018-03-14 13:50:41 +01:00
Timo Westkämper
964d6ce769 Querydsl 4.2.0 2018-03-13 18:54:25 +02:00
Timo Westkämper
ad14e400ac
Merge pull request #2263 from querydsl/improvement/sql-backwards-compat
Improve backwards compatibility
2018-03-13 18:53:19 +02:00
Timo Westkämper
0c3cb1323e Improve backwards compatibility 2018-03-06 22:15:26 +02:00
Timo Westkämper
721af2b801
Revert "Querydsl 4.2.0" 2018-03-04 22:17:43 +02:00
Timo Westkämper
f732b3ed92 Querydsl 4.2.0 2018-03-04 21:57:19 +02:00
Timo Westkämper
fe956ad812
Merge pull request #2236 from querydsl/i2225
Update oracle keywords list
2018-03-04 21:56:33 +02:00
Timo Westkämper
c46afd6433
Merge pull request #2253 from rdnetto4/update_from
Expose fields needed for dialect-specific SQL syntax
2018-03-04 21:56:02 +02:00
Ruben Dijkstra
2468042ed7
Merge pull request #2016 from balazs-zsoldos/i2007_Programmatic_Name_Mapping
Adding dynamic name mapping functionality (#2007)
2018-02-25 12:33:57 +01:00
Balazs Zsoldos
a996862c59 Changing years in license headers of new files of #i2007 2018-02-25 11:00:52 +01:00
Reuben D'Netto
669cd57e85 Fix imports 2018-02-12 13:15:57 +11:00
Reuben D'Netto
2b746f75ee Refactored AbstractSQLQuery subtypes to support generic return types, to facilitate subtyping. 2018-02-12 11:40:26 +11:00
Reuben D'Netto
ad35e9d946 Factored out base class for SQLInsertClause, SQLUpdateClause, SQLDeleteClause 2018-02-09 15:42:32 +11:00
Reuben D'Netto
280a8945a4 Loosened visibility on SQLSerializer 2018-02-09 15:42:32 +11:00
Reuben D'Netto
dd95ac3ced Loosened visibility on AbstractSQLClause subtypes 2018-02-09 15:42:32 +11:00
Yuri Orlov
b7759422ac simplify array creation 2018-02-08 17:29:21 +03:00
Zoltán Reegn
3a74aaeabc Explicitly declare NonUniqueResultException for fetchOne
Fetchable.fetchOne() declares in it's javadoc that it throws
NonUniqueResultException. It should therefore be explicitly declared in
the method signature as well.
All implementations must also declare in their signature that they throw.

This also has the desirable side-effect of the javadoc of all of the
implementors inheriting the @throws section from the javadoc of the
interface as well.

Fixes #2232
2018-01-16 14:03:05 +01: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
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
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
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
5f8490adc2 Update oracle keywords list 2018-01-04 18:45:49 +01: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
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
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
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
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
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
Balazs Zsoldos
c6b2decaa1 Adding dynamic name mapping functionality (#2007) 2016-09-06 00:31:21 +02:00
Timo Westkämper
35d549e2d9 Bump version 2016-09-05 22:35:47 +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
Robert Csakany
6aad783de4 #1961 HSQLDB dont use parenthes in Union. 2016-08-06 12:27:04 +02:00
Timo Westkämper
4e94a89080 Fix serialization 2016-08-06 10:56:49 +03:00
Timo Westkämper
1a1b7f42d6 Bump version 2016-07-01 17:54:07 +03:00
Timo Westkämper
28f8f45524 Querydsl 4.1.3 2016-06-30 22:13:48 +03:00
Timo Westkämper
fc8b5da0fb Merge pull request #1935 from querydsl/i1933
Use default locale instead of ENGLISH
2016-06-30 21:59:27 +03:00
Timo Westkämper
9389d37b1c Merge pull request #1940 from tan31989/i1936
Join for dynamic entity path alias, querydsl-sql needs implementation
2016-06-30 21:49:49 +03:00
Timo Westkämper
d91b5d9159 Use default locale instead of ENGLISH 2016-06-30 21:22:32 +03:00
Timo Westkämper
9d7aa86548 Merge pull request #1937 from querydsl/i1932
Make cross join overridable
2016-06-30 21:19:45 +03:00
Timo Westkämper
1b970c05d8 Merge pull request #1926 from querydsl/i1921
Fix end position handling
2016-06-30 21:18:08 +03:00
Timo Westkämper
f7dec5b73d Merge pull request #1930 from querydsl/i1929
Fix template handling
2016-06-30 19:43:25 +03:00
Timo Westkämper
2281271d7d Make cross join overridable 2016-06-30 19:26:49 +03:00
nagarajt
478dde3b1a Added some test cases and also updated the incorrect java docs 2016-06-30 11:04:27 +05:30
nagarajt
82740e944b Updated the method docs 2016-06-29 17:14:36 +05:30
nagarajt
7bc1e3e582 Join for dynamic entity path alias, querydsl-sql needs implementation for EntityPath and alias 2016-06-29 11:40:25 +05:30
Timo Westkämper
2a34ed63b3 Add test 2016-06-24 11:02:06 +03:00
Timo Westkämper
e6eba39ea2 Add set support 2016-06-20 00:41:14 +03:00
Robert Bain
24ab7eb036 Issue 1898: Coalesce using UNION keyword instead of a comma 2016-06-20 00:41:05 +03:00
Timo Westkämper
fbd75c840e Fix end position handling 2016-06-17 22:37:17 +03:00
Timo Westkämper
9786615550 Bump version 2016-05-31 23:04:02 +03:00
Timo Westkämper
9597480d20 Querydsl 4.1.2 2016-05-31 22:30:10 +03:00
Timo Westkämper
3e60855a1a Merge pull request #1819 from querydsl/i1817
Extend ON DUPLICATE KEY UPDATE support
2016-05-31 20:51:32 +03:00
Timo Westkämper
18da68a664 Merge pull request #1899 from querydsl/i1888
Add support for bulk insert
2016-05-31 20:50:54 +03:00
Timo Westkämper
a77ae8183e Add assignment support 2016-05-30 22:20:13 +03:00
Ruben Dijkstra
f5a9a8ce0b Update examples in readme to Querydsl 4 syntax 2016-05-30 20:54:23 +02:00
Ruben Dijkstra
f2045a21a6 Add support for Oracle's bulk insert syntax 2016-05-29 20:55:31 +02:00
Timo Westkämper
0e65a1b4be Add option for batch to bulk support 2016-05-28 22:19:30 +03:00
Timo Westkämper
76c80a7f00 Add support for bulk insert 2016-05-26 22:45:21 +03:00
Timo Westkämper
e6a463ff10 Bump version 2016-05-16 08:00:02 +03:00
Timo Westkämper
847a5c3d8b Querydsl 4.1.1 2016-05-15 23:48:03 +03:00
Timo Westkämper
06ae6a943b Merge pull request #1852 from querydsl/i1848
Extend orderBy signature
2016-05-15 23:06:25 +03:00