rob bygrave
52398317bc
#1746 - Wrong SQL generated when using setDistinct and order by on aggregated column
2019-07-01 22:50:44 +12:00
rob bygrave
8ffc9ede85
#1740 and #1744 Don't include the discriminator column on Inheritance query on a type that has no sub-types
...
Fix for #1740
2019-06-30 21:52:01 +12:00
rob bygrave
fa5ce9cbba
#1695 Add StartMyServer - docker mysql with collation options
...
- Adjust TestWhereLikeWithSlash ignoring slash escaping assert for mysql (due to dependency on no_backslash_escapes setting)
2019-05-16 16:55:05 +12:00
rob bygrave
654c3f7f67
#1695 - For SQL Server like remove the binary collation (Latin1_General_BIN)
2019-05-12 15:22:08 +12:00
rob bygrave
c61e6b04a2
Update sql server testing
2019-05-12 11:41:24 +12:00
rob bygrave
b4782425f8
#1695 - For MySql like remove the binary keyword
2019-05-08 23:38:25 +12:00
rob bygrave
b62cea5073
No effective change - add findNative tests with named params in select
2019-05-08 23:12:10 +12:00
rob bygrave
4aa8a0dc63
#1694 - findList() with firstRows/maxRows adds "order by id" (even with orderById(false))
2019-05-03 14:33:42 +12:00
rob bygrave
4af8e53315
#1670 - Expose metrics as ServerMetrics interface (improvement over existing BasicMetricVisitor use)
2019-04-09 22:54:16 +12:00
rob bygrave
4971db54c8
#1663 - AutoTune - merge profiling such that "select (orderDate) fetch customer (id)" instead merges to "select (orderDate,customer)"
2019-03-29 00:19:21 +13: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
888384f7db
No effective change (change to DB from Ebean for TestSubQuery)
2019-03-01 18:12:36 +13:00
rob bygrave
7929d8c0b8
Fix test data ordering
2019-02-11 23:17:54 +13:00
rob bygrave
ea60e42a4d
#1633 - ENH: Add bind parameter expansion for raw() expressions
2019-02-07 23:29:42 +13:00
Roland Praml and Rob Bygrave
6a7e6caa66
Test fixes ( #1628 )
...
* FIX: mysql index sizes
* FIX: osolete whitespace in sqlserver tests
* Updated mssql-jdbc, this fixes problems in the batch insert (https://github.com/Microsoft/mssql-jdbc/pull/912 )
* fix tablename (reserved word in mariadb)
* ignored failing tests for sqlserver
2019-02-04 09:20:09 +13:00
rob bygrave
41abf34ef6
#1621 - Consider clean up white space in generated SQL (as in remove unneeded extra spaces)
2019-01-25 01:52:23 +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
5052afbd07
#1620 - Support case statement in order by clause
2019-01-23 22:28:53 +13:00
rob bygrave
b8105190d1
#1615 - findNative() with List/array named parameter throws error ... query plan key doesn't take bind count into account
2019-01-22 01:56:58 +13:00
rob bygrave
4a0806e453
#1612 - query.setMapKey("customer.id") throws NullPointerException (ie. mapKey is a path rather than local property)
2019-01-21 21:57:30 +13:00
rob bygrave
cd8c12a9a8
#1566 - ENH: Support query.setBaseTable() ... to query against dynamic table (ala manual table partitioning)
2019-01-09 19:13:35 +13:00
rob bygrave
3207ae1f08
No effective change - tidy test
2019-01-09 19:05:16 +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
Roland Praml and Rob Bygrave
7ed4435ccc
Fix some testcases fof MySql/SqlServer ( #1591 )
...
* FIX testcases for MariaDB+utf8mb4 (Failure was: "Specified key was too long; max key length is 767 bytes")
* Excluded tests that won't work on SqlServers generated ids
2019-01-08 22:13:55 +13:00
rob bygrave
5bcad17ae1
No effective change - add a test for filterMany with isNotEmpty()
2019-01-08 16:50:28 +13:00
rob bygrave
b1beb0b787
#1596 - NullPointerException at findOne() with filterMany()
2019-01-07 22:21:54 +13:00
rob bygrave
82def2710e
No effective change - adjust test to have at least 1 column on insert
2018-12-21 15:51:09 +13:00
rob bygrave
60ad417e1b
No effective change - adjust test to have at least 1 column on insert
2018-12-21 15:21:01 +13:00
rob bygrave
60c8683914
No effective change - test assert to contains rather than containsExactly
2018-12-21 14:29:50 +13:00
rob bygrave
f66316138d
#1584 - Fix for - Query cache bug, which produces wrong results
2018-12-21 13:53:05 +13:00
Roland Praml and Rob Bygrave
b403942491
Query cache bug, which produces wrong results ( #1584 )
2018-12-21 11:55:07 +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
7d35789db4
#1573 - Incorrect CamelCase conversion when number proceeds uppercase letter
2018-12-16 16:12:34 +13:00
rob bygrave
d266d6d440
#1574 - "NullPointerException" in query.copy().findList() but not in query.findList()
2018-12-16 00:29:18 +13:00
rob bygrave
bafba0babf
#1572 - Support query.select("customer.id").findSingleAttributeList() ... in addition to the expected and working select("customer").findSingleAttributeList()
2018-12-06 00:15:06 +13:00
rob bygrave
ba16cea405
#1556 - Query.setDisableLazyLoading(true) not working on @OneToMany Set (but does on List)
2018-11-23 12:20:18 +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
c074b7c457
#1547 - Revert for - FIX for the limit query #1540
2018-11-14 09:29:36 +13:00
Roland Praml and Rob Bygrave
e4cb5f0443
FIX for the limit query ( #1540 )
2018-11-13 21:08:53 +13:00
Roland Praml
c5536aaeec
FIX: append extraWhere to join
2018-11-10 23:42:02 +01:00
Roland Praml
1b2bfc5df8
FIX: use outer join on "is null" check
2018-11-10 23:32:24 +01: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
Roland Praml and Rob Bygrave
61eedb4e9a
Fixed tests that modify BasicData ( #1530 )
2018-11-03 16:38:26 +13:00
rob bygrave
b9ca8be95a
#1517 - Update for ebean-datasource maven groupId change to io.ebean
2018-10-26 01:34:16 +13:00
rob bygrave
c1a479e1f4
#1512 - Invalid SQL with Postgres + order by nulls first/last + where() expression on ManyToMany
2018-10-24 23:26:19 +13:00
rob bygrave
1d1d479dda
Fix concat_expectString test with explicit cast to string
2018-10-24 22:17:44 +13:00
Jonathan Bregler and Rob Bygrave
158ee9a081
Add SAP HANA support ( #1511 )
2018-10-24 21:38:17 +13:00
rob bygrave
54b5684628
#1502 - findNative build query to findPagedList, the query count is incorrect.
2018-10-05 12:22:25 +13:00