rob bygrave
ddf3c753d6
Ability to use order(<orderByClause>) on filterMany() (related to #1943 ) #1964
2020-03-03 22:31:01 +13:00
rob bygrave
f080f16e63
#1962 - Refactor simplify Postgres platforms to POSTGRES and POSTGRES9
2020-03-01 12:53:34 +13:00
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
Rob Bygrave and GitHub
2db95f909d
Merge pull request #1944 from ebean-orm/feature/1943
...
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-22 09:26:03 +13:00
Rob Bygrave and GitHub
2314fd267f
Split Postgres platform into Postgres10 & Postgres9 (DDL - generated by default as identity) ( #1921 )
...
* Split Postgres platform into Postgres10 & Postgres9
- Use "generated by default as identity" for Postgres10 identity columns
* Add postgres9 migrationtest resources
* Set default back to h2
* Add postgres10 migration test resources
2020-02-22 09:18:05 +13:00
Michael Böckers
5278c010ba
added MySqlDbExpression.json
2020-02-21 12:58:18 +01:00
rob bygrave
e0d322d80a
#1943 - Return ExpressionList<T> from setMaxRows() setFirstRow() to allow fluid style
...
This is to allow fluid style use of setMaxRows() setFirstRow() with filterMany query
2020-02-17 17:19:27 +13:00
rob bygrave
1dd0f3cbf8
#1943 - Use limit & offset via setFirstRow() and setMaxRows() on filterMany()
2020-02-17 17:05:01 +13:00
rob bygrave
6961bf5787
#1945 - ENH: Add query.orderById(boolean) to ExpressionList ... improve fluid style
2020-02-17 16:47:37 +13:00
rob bygrave
a14288b06d
Refactor tidy DefaultExpressionList, no functional change
2020-02-17 16:40:03 +13:00
rob bygrave
9ad14c5306
#1926 - Postgres (Multi value bind) fix related to empty idIn() expression
2020-02-01 14:05:12 +13:00
Roland Praml and rob bygrave
c0b6f291a1
FIX: handle empty collection in "in (...)" queries
2020-02-01 13:06:37 +13:00
rob bygrave
1a8a43603e
#1849 - JoinColumn not found when using @Encrypted(dbEncryption = true) and findCount
2019-11-06 20:33:56 +13:00
rob bygrave
46eeee68c9
#1814 - Support older MySQL 5.5
2019-09-11 21:37:52 +12: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
c530883e5e
#1793 - ENH: Add filterMany() that takes expressions ... as a simpler option
2019-08-15 22:05:46 +12:00
rob bygrave
7fa5e2aa8c
#1738 - Refactor add final, Object.equals, Integer.compare
2019-06-29 00:23:12 +12:00
rob bygrave
8bfae9deef
#1738 - Refactor simplify switch and various
2019-06-28 23:48:03 +12:00
rob bygrave
e6c9f151c1
#1738 - Refactor tidy suppressWarnings and access
2019-06-28 23:20:57 +12:00
rob bygrave
856a3a6fdd
#1689 - ENH: Add query usingTransaction() and usingConnection()
2019-04-30 20:13:12 +12:00
rob bygrave
65fa1c056b
#1681 - Support hitting L2 bean cache via ... findList() with idsIn() expression
2019-04-26 12:01:16 +12:00
rob bygrave
27f86548a6
#1645 - ENH: Add expression rawOrEmpty() ... as a convenience for conditionally added a raw expression
2019-03-05 23:03:22 +13:00
rob bygrave
e195f20981
#1645 - ENH: Add expression rawOrEmpty() ... as a convenience for conditionally added a raw expression
2019-03-05 22:13:38 +13: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
192a946cf6
#1634 ENH: Add convenience expressions "equal to or null" eqOrNull()
2019-02-11 22:59:47 +13:00
rob bygrave
829dfcb013
#1634 - ENH: Add convenience expressions "greater than or null" gtOrNull(), ltOrNull() and inRangeWith()
2019-02-09 00:30:55 +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
8a34d6050b
#1607 - ENH: Add query.exists() query ... as a convenience for "does a row exist" check
2019-01-09 13:59:53 +13:00
rob bygrave
b1beb0b787
#1596 - NullPointerException at findOne() with filterMany()
2019-01-07 22:21:54 +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
138b587ff7
#1581 - ENH: Add query.asUpdate() ... to convert a query into an UpdateQuery (typically with query beans)
2018-12-19 14:45:33 +13:00
rob bygrave
70e2b1c2ae
#1562 - Query cache use incorrect with RawExpression - incorrect bind hash
2018-11-29 09:54:24 +13:00
Roland Praml and Rob Bygrave
4fe2016891
new comparison method Ine (caseInsensitive notEquals) ( #1551 )
2018-11-19 22:22:46 +13:00
rob bygrave
54a4fd75f1
#1539 - FIX: Pairs must not be modified by query
...
Remove the (|| multiValueSupported) part
2018-11-13 23:44:16 +13:00
Roland Praml and Rob Bygrave
105f08cca1
FIX: Pairs must not be modified by query ( #1539 )
...
* FIX: Pairs must not be modified by query
* Modification can also occur on inValues.
* fixed tests
* removed obsolete line
2018-11-13 23:41:36 +13:00
Roland Praml and Rob Bygrave
88a0c34d37
FIX: use outer join on "is null" check ( #1535 )
2018-11-13 20:46:18 +13:00
Roland Praml and Rob Bygrave
808004165c
Code cleanup ( #1534 )
...
* removed unused imports (no code change)
* Add missing @Override / @SupressWarnings (no code change)
* FIX: serialization warnings
* FIX: Access to static member
2018-11-10 20:07:01 +13:00
rob bygrave
1f928e65a4
#1521 - Add API for using explicit transaction for UpdateQuery - e.g. ebeanServer.update(Customer.class)...update(activeTransaction);
2018-10-30 13:39:54 +13:00
rob bygrave
2dbb5ea80d
#1511 - Add SAP HANA support - format only changes
2018-10-24 21:49:48 +13:00
Jonathan Bregler and Rob Bygrave
158ee9a081
Add SAP HANA support ( #1511 )
2018-10-24 21:38:17 +13:00
Rob Bygrave
0036473971
#1489 - removed the concat-operator "||" and replaced with "concat()"
2018-09-26 21:23:14 +12:00
Roland Praml and Rob Bygrave
a020bb15a1
removed the concat-operator "||" and replaced with "concat()" ( #1489 )
...
* removed the concat-operator "||" and replaced with "concat()"
* using || in postgres
* FIX: Assert-statement
2018-09-26 21:19:28 +12:00
Roland Praml and Rob Bygrave
72845acbad
FIX: JunctionExpression.notExists ( #1481 )
2018-09-20 20:24:33 +12:00
rob bygrave
471605619a
#1460 - ENH: Add FetchGroup ... as a mechanism to specify select() + fetch() separately from Query
2018-07-30 23:51:52 +12:00
rob bygrave
9cd189034c
#1437 - or(expr, expr) ... where expr has a ToMany should produce a LEFT JOIN (and instead we only get JOIN)
2018-06-26 21:33:44 +12:00
rob bygrave
59537227b6
#1426 - ENH: Add bitwiseNot expression ... e.g. bitwiseNot("flags", BwFlags.HAS_COLOUR)
2018-06-14 23:28:30 +12:00
rob bygrave
258e29d2f0
#1415 - Add asDto(Class<D> dtoClass) ... to ExpressionList to support fluid style
2018-06-11 13:29:13 +12:00
rob bygrave
11e3649b85
#1398 - Support EQ / "Equal to" predicate on client side encrypted entity property - @Encrypted(dbEncryption = false)
2018-05-31 16:02:49 +12:00