Rob Bygrave and GitHub
907d36123d
OraclePlatform update (ANSI row limiting with OFFSET), Oracle11Platform for old behaviour ( #1951 )
...
* #1947 - Oracle change to use concat operator rather than function
* #1947 - setMaxRows(1).findIds() under Oracle returns wrong result
* #1950 - Change OraclePlatform to use ANSI row limiting - OFFSET and NEXT ROWS, old platform as Oracle11Platform
* Revert test default to H2
* #1947 - Oracle & Oracle11 platform
2020-02-22 09:28:34 +13:00
Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01:00
rob bygrave
de42655bbd
Refactor tests using assertSql() helper method
...
This helper method trims column alias from the sql (for Oracle)
2020-02-20 15:08:43 +13:00
rob bygrave
1c6c812d4d
Update tests change AssertJ StrictAssertions to Assertions
2019-10-06 16:34:44 +13:00
rob bygrave
9155716752
#1795 - Refactor bind padding for Id IN expressions (based on internal multiValueSupport and simple id)
2019-08-18 16:33:36 +12:00
rob bygrave
b7d5aa344f
Fix test only - add missing assert on NoopExpressionTest
2019-06-13 00:11:34 +12:00
rob bygrave
4f4743807c
#1671 - Use table alias with delete query for Postgres, Oracle, MySql
2019-04-10 01:25:43 +12:00
rob bygrave
a4698ea1b6
#1643 - ENH: Add expression inOrEmpty() ... as a convenience for conditionally added a IN expression
2019-03-01 18:24:00 +13:00
rob bygrave
ea60e42a4d
#1633 - ENH: Add bind parameter expansion for raw() expressions
2019-02-07 23:29:42 +13:00
rob bygrave
89beaee0f6
#1621 - Consider clean up white space in generated SQL (as in remove unneeded extra spaces)
2019-01-25 01:47:21 +13:00
rob bygrave
471691c747
#1611 - ENH: Add inRange expression (as half open expression) ... (property >= lowerValue and property < upperValue)
2019-01-21 20:01:57 +13:00
Rob Bygrave and GitHub
94591954b3
1476 - Query plan capture, initial wip capturing bind params ( #1477 )
...
* 1476 - Query plan capture, initial wip capturing bind params
* No effective change - Reset test default db to H2
* #1476 - Query plan capture, initial wip capturing bind params #1477
Update with consumer
* #1476 - Query plan capture, initial wip capturing bind params #1477
Update with query plan request
* #1476 - Query plan capture, initial wip capturing bind params #1477
Extract interface
* #1476 - Query plan capture, initial wip capturing bind params #1477
Extract interface
2018-12-19 16:04:28 +13:00
rob bygrave
70e2b1c2ae
#1562 - Query cache use incorrect with RawExpression - incorrect bind hash
2018-11-29 09:54:24 +13:00
rob bygrave
6bc72ae6bb
No effective change - format only
2018-11-19 22:25:01 +13:00
Roland Praml and Rob Bygrave
4fe2016891
new comparison method Ine (caseInsensitive notEquals) ( #1551 )
2018-11-19 22:22:46 +13:00
Jonathan Bregler and Rob Bygrave
158ee9a081
Add SAP HANA support ( #1511 )
2018-10-24 21:38:17 +13:00
Rob Bygrave
602a35d0b6
#1348 - ENH: Add support for bitwiseAnd / bitwiseAny / bitwiseAll .. expressions for use with integer/long "Flags" properties
2018-03-14 16:23:16 +13:00
Rob Bygrave
525afbc00f
#1296 - where().exampleLike(bean) ... with 'empty bean' produces invalid SQL
2018-03-01 13:38:09 +13:00
Rob Bygrave
2f47235018
#1255 - Regression on raw LIKE expression with slashes on Postgres
2018-02-09 21:28:39 +13:00
Rob Bygrave
ef91c643ed
#1214 - ENH: Add inPairs() expression - support L2 cache hits for complex natural key with findList() and in pairs expression
2017-11-19 16:47:32 +13:00
Rob Bygrave
d5555ed9a9
#1211 - ENH: Support L2 cache complex natural keys include findList() queries
2017-11-18 22:20:42 +13:00
Rob Bygrave
f36499f71f
No effective change - remove use of jetbrains @NotNull in tests
2017-11-02 15:26:35 +13:00
rob bygrave
0dbba7a211
#1189 - ExpressionList.isNull and SoftDelete
2017-11-01 21:26:15 +13:00
rob bygrave
1e1c518641
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
...
Use Postgres Array ANY and ALL without select unnest
2017-10-31 22:09:35 +13:00
rob bygrave
6e62b72fb9
#1186 - ENH: Support using TableValues / Array for select prop in (?) queries
2017-10-31 02:53:20 +13:00
Roland Praml and Rob Bygrave
1909ba1557
Fix like escaping for DB2, Oracle and MySql ( #1162 )
...
* Extended test case to show problem
* FIX: Proper escaping of backslash in like/contains queries
* Had to replace "like ?" assertions in tests with "like " as mysql will do a "like binary ? escape'|'" now to be case sensitive
2017-10-06 09:46:56 +13:00
Roland Praml and Rob Bygrave
ac6708e0d0
Fix warnings ( #1129 )
...
* FIX: warnings (add generics, overrides, fix imports) - should be no effecive code change
* replaced deprecated methods by default methods
* FIX: more compiler warnings
* FIX more warnings - no code changes
2017-09-14 00:29:01 +12:00
rob bygrave
f83c7fdac8
#1100 - Refactor OrmQueryPlanKey to use string expression for where
2017-08-31 02:11:49 +12:00
Roland Praml and Rob Bygrave
bc74d35651
FIX: correct behavior of "startsWith, "contains" etc ( #1031 )
...
* FIX: correct behavior of "startsWith" if string contains "like"-wildcards
* Removed likeClasues with disabled escaping in database platforms as bind values are properly escaped now.
2017-06-19 22:21:26 +12:00
Rob Bygrave
e51f7f11f1
Fix tests for #1016
2017-04-30 22:56:07 +12:00
Rob Bygrave
82102340b8
#960 - Incorrect query when using '.betweenProperties' with '@SoftDelete'
2017-02-09 23:43:45 +13:00
Rob Bygrave
84e1e12b66
#900 - Error - Can't fetch JsonDB field - org.postgresql.util.PSQLException: ERROR: could not identify an equality operator for type json
2016-12-20 02:59:47 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00